mxlib
c++ tools for analyzing astronomical data and other tasks by Jared R. Males. [git repo]
Loading...
Searching...
No Matches

Functions

 TEST_CASE ("math::dtor converts float degrees to radians", "[math::dtor]")
 Verifies the float specialization of mx::math::dtor converts degrees to radians.
 TEST_CASE ("Verify compilation and calculations of math::angleMod", "[math::angleMod]")
 TEST_CASE ("Verify compilation and calculations of math::angleDiff", "[math::angleDiff]")

Function Documentation

◆ TEST_CASE() [1/3]

TEST_CASE ( "math::dtor converts float degrees to radians" ,
"" [math::dtor] )

Verifies the float specialization of mx::math::dtor converts degrees to radians.

Definition at line 21 of file geo_test.cpp.

References mx::math::dtor(), and mx::math::pi().

◆ TEST_CASE() [2/3]

TEST_CASE ( "Verify compilation and calculations of math::angleDiff" ,
"" [math::angleDiff] )

Verify compilation and calculations of math::angleDiff. Tests that various angle differences are calculated correctly for both radians and degrees.

Definition at line 112 of file geo_test.cpp.

References mx::math::angleDiff(), and mx::math::dtor().

◆ TEST_CASE() [3/3]

TEST_CASE ( "Verify compilation and calculations of math::angleMod" ,
"" [math::angleMod] )

Verify compilation and calculations of math::angleMod. Tests that various angle modulos are calculated correctly for both radians and degrees.

Definition at line 33 of file geo_test.cpp.

References mx::math::angleMod(), and mx::math::dtor().