Formula Student Autonomous Systems
The code for the main driverless system
Loading...
Searching...
No Matches
z_score_validator_test.cpp File Reference
#include "clustering/dbscan.hpp"
#include "cone_validator/z_score_validator.hpp"
#include <gtest/gtest.h>
#include <memory>
Include dependency graph for z_score_validator_test.cpp:

Go to the source code of this file.

Classes

class  ZScoreValidatorTest
 Fixture for testing the ZScoreValidatorTest class. More...
 

Functions

 TEST_F (ZScoreValidatorTest, SinglePointPerfectZScores)
 Test case to validate the a vector with only one cluster.
 
 TEST_F (ZScoreValidatorTest, TwoPointsPerfectZScores)
 Test case to validate the a vector with only two clusters.
 
 TEST_F (ZScoreValidatorTest, PerfectZScore)
 Test case to validate a perfectly distributed vector of clusters.
 
 TEST_F (ZScoreValidatorTest, PerfectZScoreWith1Outlier)
 Test case to validate a perfectly distributed vector of clusters with 1 outlier (not perfect)
 
 TEST_F (ZScoreValidatorTest, PerfectZScoreWith1Outlier2)
 Test case to validate a perfectly distributed vector of clusters with 1 outlier (all points except the outlier)
 

Function Documentation

◆ TEST_F() [1/5]

TEST_F ( ZScoreValidatorTest  ,
PerfectZScore   
)

Test case to validate a perfectly distributed vector of clusters.

Definition at line 63 of file z_score_validator_test.cpp.

Here is the call graph for this function:

◆ TEST_F() [2/5]

TEST_F ( ZScoreValidatorTest  ,
PerfectZScoreWith1Outlier   
)

Test case to validate a perfectly distributed vector of clusters with 1 outlier (not perfect)

Definition at line 80 of file z_score_validator_test.cpp.

Here is the call graph for this function:

◆ TEST_F() [3/5]

TEST_F ( ZScoreValidatorTest  ,
PerfectZScoreWith1Outlier2   
)

Test case to validate a perfectly distributed vector of clusters with 1 outlier (all points except the outlier)

Definition at line 98 of file z_score_validator_test.cpp.

Here is the call graph for this function:

◆ TEST_F() [4/5]

TEST_F ( ZScoreValidatorTest  ,
SinglePointPerfectZScores   
)

Test case to validate the a vector with only one cluster.

Definition at line 33 of file z_score_validator_test.cpp.

Here is the call graph for this function:

◆ TEST_F() [5/5]

TEST_F ( ZScoreValidatorTest  ,
TwoPointsPerfectZScores   
)

Test case to validate the a vector with only two clusters.

Definition at line 46 of file z_score_validator_test.cpp.

Here is the call graph for this function: