Formula Student Autonomous Systems
The code for the main driverless system
Loading...
Searching...
No Matches
icp_test.cpp File Reference

Unit tests for the ICP class. More...

#include "icp/icp.hpp"
#include <gtest/gtest.h>
#include <memory>
Include dependency graph for icp_test.cpp:

Go to the source code of this file.

Classes

class  ICPSuite
 Test suite for the ICP class. More...
 

Functions

 TEST_F (ICPSuite, Initialization)
 Test case to check if ICP initializes properly.
 
 TEST_F (ICPSuite, Alignment)
 Test case to check if ICP aligns source cloud properly.
 
 TEST_F (ICPSuite, AlignmentFailed)
 Test case to check if ICP fails to align properly.
 

Detailed Description

Unit tests for the ICP class.

Definition in file icp_test.cpp.

Function Documentation

◆ TEST_F() [1/3]

TEST_F ( ICPSuite  ,
Alignment   
)

Test case to check if ICP aligns source cloud properly.

Definition at line 47 of file icp_test.cpp.

Here is the call graph for this function:

◆ TEST_F() [2/3]

TEST_F ( ICPSuite  ,
AlignmentFailed   
)

Test case to check if ICP fails to align properly.

Definition at line 61 of file icp_test.cpp.

Here is the call graph for this function:

◆ TEST_F() [3/3]

TEST_F ( ICPSuite  ,
Initialization   
)

Test case to check if ICP initializes properly.

Definition at line 37 of file icp_test.cpp.

Here is the call graph for this function: