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

Go to the source code of this file.

Classes

class  NPointsValidatorTest
 Test fixture for NPointsValidator class. More...
 

Functions

 TEST_F (NPointsValidatorTest, ConeWithFewerPointsThanThreshold)
 Test case to validate a cluster with fewer points than the minimum threshold.
 
 TEST_F (NPointsValidatorTest, ConeWithExactMinPoints)
 Test case to validate a cluster with exactly the minimum threshold number of points.
 
 TEST_F (NPointsValidatorTest, ConeWithMorePointsThanThreshold)
 Test case to validate a cluster with more points than the minimum threshold.
 

Function Documentation

◆ TEST_F() [1/3]

TEST_F ( NPointsValidatorTest  ,
ConeWithExactMinPoints   
)

Test case to validate a cluster with exactly the minimum threshold number of points.

Definition at line 42 of file npoints_validator_test.cpp.

Here is the call graph for this function:

◆ TEST_F() [2/3]

TEST_F ( NPointsValidatorTest  ,
ConeWithFewerPointsThanThreshold   
)

Test case to validate a cluster with fewer points than the minimum threshold.

Definition at line 26 of file npoints_validator_test.cpp.

Here is the call graph for this function:

◆ TEST_F() [3/3]

TEST_F ( NPointsValidatorTest  ,
ConeWithMorePointsThanThreshold   
)

Test case to validate a cluster with more points than the minimum threshold.

Definition at line 61 of file npoints_validator_test.cpp.

Here is the call graph for this function: