scenario_simulator_v2 C++ API
Functions
test_vertex.cpp File Reference
#include <gtest/gtest.h>
#include <algorithm>
#include <geometry_msgs/msg/point.hpp>
#include <simple_sensor_simulator/sensor_simulation/primitives/primitive.hpp>
#include <vector>
#include "../../utils/expect_eq_macros.hpp"
Include dependency graph for test_vertex.cpp:

Functions

 TEST (VertexTest, toVertex_onePoint)
 
 TEST (VertexTest, toVertex_manyPoints)
 
 TEST (VertexTest, toVertex_empty)
 
 TEST (VertexTest, toPoint_oneVertex)
 
 TEST (VertexTest, toPoints_manyVertices)
 
 TEST (VertexTest, toPoints_empty)
 
int main (int argc, char **argv)
 

Function Documentation

◆ main()

int main ( int  argc,
char **  argv 
)

◆ TEST() [1/6]

TEST ( VertexTest  ,
toPoint_oneVertex   
)
Note
Test basic functionality. Test to point conversion correctness with a sample vertex.

◆ TEST() [2/6]

TEST ( VertexTest  ,
toPoints_empty   
)
Note
Test function behavior when an empty vector is passed. The goal is to get an empty vector.

◆ TEST() [3/6]

TEST ( VertexTest  ,
toPoints_manyVertices   
)
Note
Test basic functionality. Test to point conversion correctness with a vector containing multiple sample vertices.

◆ TEST() [4/6]

TEST ( VertexTest  ,
toVertex_empty   
)
Note
Test function behavior when an empty vector is passed. The goal is to get an empty vector.

◆ TEST() [5/6]

TEST ( VertexTest  ,
toVertex_manyPoints   
)
Note
Test basic functionality. Test to vertex conversion correctness with a vector containing multiple sample points.

◆ TEST() [6/6]

TEST ( VertexTest  ,
toVertex_onePoint   
)
Note
Test basic functionality. Test to vertex conversion correctness with a sample point.