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

Go to the source code of this file.

Classes

class  DisplacementValidatorTest
 Test fixture for DisplacementValidator class. More...
 

Functions

 TEST_F (DisplacementValidatorTest, ClusterWithWellDistributedPoints)
 Test case to validate if the cluster is well-distributed across all axes.
 
 TEST_F (DisplacementValidatorTest, BelowThresholdOnXAxis)
 Test case to validate points below the minimum distance on the x-axis.
 
 TEST_F (DisplacementValidatorTest, BelowThresholdOnYAxis)
 Test case to validate points below the minimum distance on the y-axis.
 
 TEST_F (DisplacementValidatorTest, BelowThresholdOnZAxis)
 Test case to validate points below the minimum distance on the z-axis.
 

Function Documentation

◆ TEST_F() [1/4]

TEST_F ( DisplacementValidatorTest  ,
BelowThresholdOnXAxis   
)

Test case to validate points below the minimum distance on the x-axis.

Definition at line 47 of file displacement_validator_test.cpp.

Here is the call graph for this function:

◆ TEST_F() [2/4]

TEST_F ( DisplacementValidatorTest  ,
BelowThresholdOnYAxis   
)

Test case to validate points below the minimum distance on the y-axis.

Definition at line 68 of file displacement_validator_test.cpp.

Here is the call graph for this function:

◆ TEST_F() [3/4]

TEST_F ( DisplacementValidatorTest  ,
BelowThresholdOnZAxis   
)

Test case to validate points below the minimum distance on the z-axis.

Definition at line 89 of file displacement_validator_test.cpp.

Here is the call graph for this function:

◆ TEST_F() [4/4]

TEST_F ( DisplacementValidatorTest  ,
ClusterWithWellDistributedPoints   
)

Test case to validate if the cluster is well-distributed across all axes.

Definition at line 28 of file displacement_validator_test.cpp.

Here is the call graph for this function: