Classes | Functions | Variables
test_ros_conversor.cpp File Reference
#include <gtest/gtest.h>
#include <fields2cover.h>
#include "ros/conversor.h"
#include <tuple>
Include dependency graph for test_ros_conversor.cpp:

Go to the source code of this file.

Classes

class  ToPointTest
 
class  ToPolyTest
 

Functions

 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)
 

Variables

constexpr static float_t FLOAT_TOL = 1e-6
 

Function Documentation

◆ 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_F ( ToPolyTest  ,
testToPoly   
)

Definition at line 63 of file test_ros_conversor.cpp.

◆ TEST_P() [1/2]

TEST_P ( ToPointTest  ,
testConvertPoint   
)

Definition at line 21 of file test_ros_conversor.cpp.

◆ TEST_P() [2/2]

TEST_P ( ToPointTest  ,
testConvertPoint32   
)

Definition at line 35 of file test_ros_conversor.cpp.

Variable Documentation

◆ FLOAT_TOL

constexpr static float_t FLOAT_TOL = 1e-6
staticconstexpr

Definition at line 15 of file test_ros_conversor.cpp.



fields2cover_ros
Author(s):
autogenerated on Tue Feb 7 2023 03:46:06