#include <gtest/gtest.h>
#include <fields2cover.h>
#include "ros/conversor.h"
#include <tuple>
Go to the source code of this file.
|
| | INSTANTIATE_TEST_SUITE_P (ParametrizedToPointTest, ToPointTest, ::testing::Values(std::tuple< float_t, float_t, float_t >{0.0, 0.0, 0.0}, std::tuple< float_t, float_t, float_t >{1.2, 3.456, -7.9}, std::tuple< float_t, float_t, float_t >{20001.2787878, -3.456, -0.0})) |
| |
| | TEST_F (ToPolyTest, testToPoly) |
| |
| | TEST_P (ToPointTest, testConvertPoint) |
| |
| | TEST_P (ToPointTest, testConvertPoint32) |
| |
◆ INSTANTIATE_TEST_SUITE_P()
| INSTANTIATE_TEST_SUITE_P |
( |
ParametrizedToPointTest |
, |
|
|
ToPointTest |
, |
|
|
::testing::Values(std::tuple< float_t, float_t, float_t >{0.0, 0.0, 0.0}, std::tuple< float_t, float_t, float_t >{1.2, 3.456, -7.9}, std::tuple< float_t, float_t, float_t >{20001.2787878, -3.456, -0.0}) |
|
|
) |
| |
◆ TEST_F()
◆ TEST_P() [1/2]
◆ TEST_P() [2/2]
◆ FLOAT_TOL
| constexpr static float_t FLOAT_TOL = 1e-6 |
|
staticconstexpr |