#include <mrpt/math/CAtan2LookUpTable.h>
#include <mrpt/random.h>
#include <mrpt/core/bits_math.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) | |
void atan2_lut_test | ( | const LUT_CLASS & | atan2lut, |
const double | SIZE, | ||
const double | max_deg_errors, | ||
const double | skip_area | ||
) |
Definition at line 17 of file CAtan2LookUpTable_unittest.cpp.
References mrpt::DEG2RAD(), mrpt::random::CRandomGenerator::drawUniform(), and mrpt::random::getRandomGenerator().
Referenced by TEST().
TEST | ( | CAtan2LookUpTable | , |
MultiResTest | |||
) |
Definition at line 53 of file CAtan2LookUpTable_unittest.cpp.
References atan2_lut_test(), and mrpt::math::CAtan2LookUpTableMultiRes::resize().
TEST | ( | CAtan2LookUpTable | , |
ValidValidTest | |||
) |
Definition at line 44 of file CAtan2LookUpTable_unittest.cpp.
References atan2_lut_test().
Page generated by Doxygen 1.8.17 for MRPT 1.9.9 Git: ad3a9d8ae Tue May 1 23:10:22 2018 -0700 at miƩ 12 jul 2023 10:03:34 CEST |