OpenTTD Source  20240919-master-gdf0233f4c2
math_func.cpp File Reference
#include "../stdafx.h"
#include "../3rdparty/catch2/catch.hpp"
#include "../core/math_func.hpp"

Go to the source code of this file.

Functions

 TEST_CASE ("DivideApproxTest - Negative")
 
 TEST_CASE ("DivideApproxTest, Divide")
 
 TEST_CASE ("IntSqrtTest - Zero")
 
 TEST_CASE ("IntSqrtTest - FindSqRt")
 
 TEST_CASE ("ClampTo")
 
 TEST_CASE ("SoftClamp")
 

Detailed Description

Test functionality from core/math_func.

Definition in file math_func.cpp.