OpenTTD Source  20241111-master-gce64d5f5d9
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.