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::log2p1")
 
 TEST_CASE ("Math::ispow2")
 
 TEST_CASE ("Math::ceil2")
 
 TEST_CASE ("Math::clipIntToShort")
 
 TEST_CASE ("Math::clipIntToByte")
 
 TEST_CASE ("Math::reverseNBits")
 
 TEST_CASE ("Math::reverseByte")
 
 TEST_CASE ("Math::floodRight")
 
 TEST_CASE ("Math::countLeadingZeros")
 

Function Documentation

◆ TEST_CASE() [1/9]

TEST_CASE ( "Math::ceil2"  )

Definition at line 55 of file Math_test.cc.

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

◆ TEST_CASE() [2/9]

TEST_CASE ( "Math::clipIntToByte"  )

Definition at line 105 of file Math_test.cc.

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

◆ TEST_CASE() [3/9]

TEST_CASE ( "Math::clipIntToShort"  )

Definition at line 86 of file Math_test.cc.

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

◆ TEST_CASE() [4/9]

TEST_CASE ( "Math::countLeadingZeros"  )

Definition at line 190 of file Math_test.cc.

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

◆ TEST_CASE() [5/9]

TEST_CASE ( "Math::floodRight"  )

Definition at line 165 of file Math_test.cc.

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

◆ TEST_CASE() [6/9]

TEST_CASE ( "Math::ispow2"  )

Definition at line 25 of file Math_test.cc.

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

◆ TEST_CASE() [7/9]

TEST_CASE ( "Math::log2p1"  )

Definition at line 4 of file Math_test.cc.

References CHECK(), Math::log2p1(), and openmsx::x.

◆ TEST_CASE() [8/9]

TEST_CASE ( "Math::reverseByte"  )

Definition at line 150 of file Math_test.cc.

◆ TEST_CASE() [9/9]

TEST_CASE ( "Math::reverseNBits"  )

Definition at line 127 of file Math_test.cc.