openMSX
Functions
Math_test.cc File Reference
#include "catch.hpp"
#include "Math.hh"
Include dependency graph for Math_test.cc:

Go to the source code of this file.

Functions

 TEST_CASE ("Math::clipToInt16")
 
 TEST_CASE ("Math::clipIntToByte")
 
 TEST_CASE ("Math::reverseNBits")
 
 TEST_CASE ("Math::reverseByte")
 
 TEST_CASE ("Math::floodRight")
 
 TEST_CASE ("Math::div_mod_floor")
 

Function Documentation

◆ TEST_CASE() [1/6]

TEST_CASE ( "Math::clipIntToByte"  )

Definition at line 27 of file Math_test.cc.

References CHECK(), and Math::clipIntToByte().

◆ TEST_CASE() [2/6]

TEST_CASE ( "Math::clipToInt16"  )

Definition at line 4 of file Math_test.cc.

References CHECK(), and Math::clipToInt16().

◆ TEST_CASE() [3/6]

TEST_CASE ( "Math::div_mod_floor"  )

Definition at line 112 of file Math_test.cc.

References CHECK(), Math::div_mod_floor(), and test().

◆ TEST_CASE() [4/6]

TEST_CASE ( "Math::floodRight"  )

Definition at line 87 of file Math_test.cc.

References CHECK(), and Math::floodRight().

◆ TEST_CASE() [5/6]

TEST_CASE ( "Math::reverseByte"  )

Definition at line 72 of file Math_test.cc.

◆ TEST_CASE() [6/6]

TEST_CASE ( "Math::reverseNBits"  )

Definition at line 49 of file Math_test.cc.