Formula Student Autonomous Systems
The code for the main driverless system
Loading...
Searching...
No Matches
cylinder_validator_test.cpp File Reference
#include <gtest/gtest.h>
#include <pcl/point_cloud.h>
#include <pcl/point_types.h>
#include <cone_validator/cylinder_validator.hpp>
#include <utils/cluster.hpp>
#include <utils/plane.hpp>
Include dependency graph for cylinder_validator_test.cpp:

Go to the source code of this file.

Classes

struct  NonOwningDeleter< T >
 
class  CylinderValidatorTest
 Test fixture for CylinderValidator class. More...
 

Functions

 TEST_F (CylinderValidatorTest, PointsInsideSmallCylinder)
 Test case to validate if points are inside the small cylinder.
 
 TEST_F (CylinderValidatorTest, PointsInsideLargeCylinder)
 Test case to validate if points are inside the large cylinder.
 
 TEST_F (CylinderValidatorTest, PointsFarOutsideCylinders)
 Test case to validate if points are outside all cylinders.
 
 TEST_F (CylinderValidatorTest, PointsOutsideCylinders)
 Test case to validate if points are outside all cylinders.
 

Function Documentation

◆ TEST_F() [1/4]

TEST_F ( CylinderValidatorTest  ,
PointsFarOutsideCylinders   
)

Test case to validate if points are outside all cylinders.

Definition at line 78 of file cylinder_validator_test.cpp.

Here is the call graph for this function:

◆ TEST_F() [2/4]

TEST_F ( CylinderValidatorTest  ,
PointsInsideLargeCylinder   
)

Test case to validate if points are inside the large cylinder.

Definition at line 52 of file cylinder_validator_test.cpp.

Here is the call graph for this function:

◆ TEST_F() [3/4]

TEST_F ( CylinderValidatorTest  ,
PointsInsideSmallCylinder   
)

Test case to validate if points are inside the small cylinder.

Definition at line 30 of file cylinder_validator_test.cpp.

Here is the call graph for this function:

◆ TEST_F() [4/4]

TEST_F ( CylinderValidatorTest  ,
PointsOutsideCylinders   
)

Test case to validate if points are outside all cylinders.

Definition at line 103 of file cylinder_validator_test.cpp.

Here is the call graph for this function: