Formula Student Autonomous Systems
The code for the main driverless system
Loading...
Searching...
No Matches
height_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/height_validator.hpp>
#include <utils/cluster.hpp>
#include <utils/plane.hpp>
Include dependency graph for height_validator_test.cpp:

Go to the source code of this file.

Classes

class  HeightValidatorTest
 Test fixture for HeightValidator class. More...
 

Functions

 TEST_F (HeightValidatorTest, ConeWithinSmallHeightThreshold)
 Test case to validate if the cone height is within the small cone height threshold.
 
 TEST_F (HeightValidatorTest, ConeWithinLargeHeightThreshold)
 Test case to validate if the cone height exceeds the small cone threshold but is within the large cone height threshold.
 
 TEST_F (HeightValidatorTest, ConeExceedsHeightThreshold)
 Test case to validate if the cone height exceeds all thresholds.
 
 TEST_F (HeightValidatorTest, ConeBelowHeightThreshold)
 Test case to validate if the cone height is below the minimum height threshold.
 
 TEST_F (HeightValidatorTest, ConeNearMinimumHeight)
 Test case to validate if the cone height is near the minimum threshold but valid.
 

Function Documentation

◆ TEST_F() [1/5]

TEST_F ( HeightValidatorTest  ,
ConeBelowHeightThreshold   
)

Test case to validate if the cone height is below the minimum height threshold.

Definition at line 84 of file height_validator_test.cpp.

Here is the call graph for this function:

◆ TEST_F() [2/5]

TEST_F ( HeightValidatorTest  ,
ConeExceedsHeightThreshold   
)

Test case to validate if the cone height exceeds all thresholds.

Definition at line 65 of file height_validator_test.cpp.

Here is the call graph for this function:

◆ TEST_F() [3/5]

TEST_F ( HeightValidatorTest  ,
ConeNearMinimumHeight   
)

Test case to validate if the cone height is near the minimum threshold but valid.

Definition at line 102 of file height_validator_test.cpp.

Here is the call graph for this function:

◆ TEST_F() [4/5]

TEST_F ( HeightValidatorTest  ,
ConeWithinLargeHeightThreshold   
)

Test case to validate if the cone height exceeds the small cone threshold but is within the large cone height threshold.

Definition at line 47 of file height_validator_test.cpp.

Here is the call graph for this function:

◆ TEST_F() [5/5]

TEST_F ( HeightValidatorTest  ,
ConeWithinSmallHeightThreshold   
)

Test case to validate if the cone height is within the small cone height threshold.

Definition at line 28 of file height_validator_test.cpp.

Here is the call graph for this function: