OpenTTD Source  20241121-master-g67a0fccfad
math_func.cpp File Reference

Test functionality from core/math_func. More...

#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.