Main MRPT website > C++ reference for MRPT 1.9.9
Functions
CAtan2LookUpTable_unittest.cpp File Reference
#include <mrpt/math/CAtan2LookUpTable.h>
#include <mrpt/random.h>
#include <gtest/gtest.h>
#include <cmath>

Go to the source code of this file.

Functions

template<class LUT_CLASS >
void atan2_lut_test (const LUT_CLASS &atan2lut, const double SIZE, const double max_deg_errors, const double skip_area)
 
 TEST (CAtan2LookUpTable, ValidValidTest)
 
 TEST (CAtan2LookUpTable, MultiResTest)
 

Function Documentation

◆ atan2_lut_test()

template<class LUT_CLASS >
void atan2_lut_test ( const LUT_CLASS &  atan2lut,
const double  SIZE,
const double  max_deg_errors,
const double  skip_area 
)

Definition at line 16 of file CAtan2LookUpTable_unittest.cpp.

References mrpt::utils::DEG2RAD(), mrpt::random::CRandomGenerator::drawUniform(), and mrpt::random::getRandomGenerator().

Referenced by TEST().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ TEST() [1/2]

TEST ( CAtan2LookUpTable  ,
ValidValidTest   
)

Definition at line 44 of file CAtan2LookUpTable_unittest.cpp.

References atan2_lut_test().

Here is the call graph for this function:

◆ TEST() [2/2]

TEST ( CAtan2LookUpTable  ,
MultiResTest   
)

Definition at line 53 of file CAtan2LookUpTable_unittest.cpp.

References atan2_lut_test(), and mrpt::math::CAtan2LookUpTableMultiRes::resize().

Here is the call graph for this function:



Page generated by Doxygen 1.8.14 for MRPT 1.9.9 Git: ae4571287 Thu Nov 23 00:06:53 2017 +0100 at dom oct 27 23:51:55 CET 2019