Autonomy Software C++ 24.5.1
Welcome to the Autonomy Software repository of the Mars Rover Design Team (MRDT) at Missouri University of Science and Technology (Missouri S&T)! API reference contains the source code and other resources for the development of the autonomy software for our Mars rover. The Autonomy Software project aims to compete in the University Rover Challenge (URC) by demonstrating advanced autonomous capabilities and robust navigation algorithms.
Loading...
Searching...
No Matches
ExampleTests Class Reference

Unit Test Class for the Example Tests. More...

Inheritance diagram for ExampleTests:
Collaboration diagram for ExampleTests:

Public Member Functions

 ExampleTests ()
 Construct a new Example Tests object.
 ~ExampleTests ()
 Destroy the Example Tests object.
void TestSetup () override
 Setup the Example Tests object.
void TestTeardown () override
 Destroy the Example Tests object.
Public Member Functions inherited from TestingBase< ExampleTests >
 TestingBase ()=default
 Construct a new Testing Base object.
virtual ~TestingBase ()=default
 Destroy the Testing Base object.

Protected Attributes

int m_nTestValue

Additional Inherited Members

Static Public Member Functions inherited from TestingBase< ExampleTests >
static void SetCommandLineArgs (int argc, char **argv)
 Mutator for the Command Line Args private member.
Protected Member Functions inherited from TestingBase< ExampleTests >
void RequiredSetup ()
 Required setup for all tests.
void RequiredTeardown ()
 Required teardown for all tests.
void SetupRoveComm ()
 Setup RoveComm for testing.
void TeardownRoveComm ()
 Teardown RoveComm for testing.

Detailed Description

Unit Test Class for the Example Tests.

Author
Eli Byrd (edbgk.nosp@m.k@ms.nosp@m.t.edu)
Date
2025-01-10

Constructor & Destructor Documentation

◆ ExampleTests()

ExampleTests::ExampleTests ( )
inline

Construct a new Example Tests object.

Author
Eli Byrd (edbgk.nosp@m.k@ms.nosp@m.t.edu)
Date
2025-01-10
40{}

◆ ~ExampleTests()

ExampleTests::~ExampleTests ( )
inline

Destroy the Example Tests object.

Author
Eli Byrd (edbgk.nosp@m.k@ms.nosp@m.t.edu)
Date
2025-01-10
48{}

Member Function Documentation

◆ TestSetup()

void ExampleTests::TestSetup ( )
inlineoverridevirtual

Setup the Example Tests object.

Author
Eli Byrd (edbgk.nosp@m.k@ms.nosp@m.t.edu)
Date
2025-01-10

Reimplemented from TestingBase< ExampleTests >.

56{ m_nTestValue = 0; }

◆ TestTeardown()

void ExampleTests::TestTeardown ( )
inlineoverridevirtual

Destroy the Example Tests object.

Author
Eli Byrd (edbgk.nosp@m.k@ms.nosp@m.t.edu)
Date
2025-01-10

Reimplemented from TestingBase< ExampleTests >.

64{ EXPECT_NE(m_nTestValue, 0) << "Test value has not been modified."; }

The documentation for this class was generated from the following file: