MRPT  1.9.9
Functions
bits_math_unittest.cpp File Reference
#include <gtest/gtest.h>
#include <mrpt/core/bits_math.h>
Include dependency graph for bits_math_unittest.cpp:

Go to the source code of this file.

Functions

 TEST (bits_math, sign)
 
 TEST (bits_math, keep_min)
 
 TEST (bits_math, keep_max)
 
 TEST (bits_math, round2up)
 
 TEST (bits_math, hypot_fast)
 
 TEST (bits_math, deg_rad)
 
 TEST (bits_math, signWithZero)
 
 TEST (bits_math, abs_diff)
 
 TEST (bits_math, min3)
 
 TEST (bits_math, max3)
 
 TEST (bits_math, fix)
 
 TEST (bits_math, saturate_val)
 
 TEST (bits_math, saturate)
 
 TEST (bits_math, lowestPositive)
 

Function Documentation

◆ TEST() [1/14]

TEST ( bits_math  ,
sign   
)

Definition at line 13 of file bits_math_unittest.cpp.

References EXPECT_EQ(), and mrpt::sign().

Here is the call graph for this function:

◆ TEST() [2/14]

TEST ( bits_math  ,
keep_min   
)

Definition at line 23 of file bits_math_unittest.cpp.

References EXPECT_EQ(), and mrpt::keep_min().

Here is the call graph for this function:

◆ TEST() [3/14]

TEST ( bits_math  ,
keep_max   
)

Definition at line 33 of file bits_math_unittest.cpp.

References EXPECT_EQ(), and mrpt::keep_max().

Here is the call graph for this function:

◆ TEST() [4/14]

TEST ( bits_math  ,
round2up   
)

Definition at line 44 of file bits_math_unittest.cpp.

References EXPECT_EQ(), and mrpt::round2up().

Here is the call graph for this function:

◆ TEST() [5/14]

TEST ( bits_math  ,
hypot_fast   
)

Definition at line 51 of file bits_math_unittest.cpp.

References EXPECT_NEAR(), and mrpt::hypot_fast().

Here is the call graph for this function:

◆ TEST() [6/14]

TEST ( bits_math  ,
deg_rad   
)

Definition at line 57 of file bits_math_unittest.cpp.

References mrpt::d2f(), mrpt::DEG2RAD(), EXPECT_NEAR(), M_PI, and mrpt::RAD2DEG().

Here is the call graph for this function:

◆ TEST() [7/14]

TEST ( bits_math  ,
signWithZero   
)

Definition at line 77 of file bits_math_unittest.cpp.

References EXPECT_EQ(), and mrpt::signWithZero().

Here is the call graph for this function:

◆ TEST() [8/14]

TEST ( bits_math  ,
abs_diff   
)

Definition at line 87 of file bits_math_unittest.cpp.

References mrpt::abs_diff(), and EXPECT_EQ().

Here is the call graph for this function:

◆ TEST() [9/14]

TEST ( bits_math  ,
min3   
)

Definition at line 95 of file bits_math_unittest.cpp.

References EXPECT_EQ(), and mrpt::min3().

Here is the call graph for this function:

◆ TEST() [10/14]

TEST ( bits_math  ,
max3   
)

Definition at line 104 of file bits_math_unittest.cpp.

References EXPECT_EQ(), and mrpt::max3().

Here is the call graph for this function:

◆ TEST() [11/14]

TEST ( bits_math  ,
fix   
)

Definition at line 113 of file bits_math_unittest.cpp.

References EXPECT_EQ(), and mrpt::fix().

Here is the call graph for this function:

◆ TEST() [12/14]

TEST ( bits_math  ,
saturate_val   
)

Definition at line 121 of file bits_math_unittest.cpp.

References mrpt::saturate_val().

Here is the call graph for this function:

◆ TEST() [13/14]

TEST ( bits_math  ,
saturate   
)

Definition at line 129 of file bits_math_unittest.cpp.

References mrpt::saturate().

Here is the call graph for this function:

◆ TEST() [14/14]

TEST ( bits_math  ,
lowestPositive   
)

Definition at line 140 of file bits_math_unittest.cpp.

References EXPECT_EQ(), and mrpt::lowestPositive().

Here is the call graph for this function:



Page generated by Doxygen 1.8.14 for MRPT 1.9.9 Git: c7a3bec24 Sun Mar 29 18:33:13 2020 +0200 at dom mar 29 18:50:38 CEST 2020