Peano
Loading...
Searching...
No Matches
tarch::la::tests::ScalarTest Class Reference

#include <ScalarTest.h>

Inheritance diagram for tarch::la::tests::ScalarTest:
Collaboration diagram for tarch::la::tests::ScalarTest:

Public Member Functions

 ScalarTest ()
 Constructor.
 
virtual ~ScalarTest ()
 Destructor, empty.
 
virtual void run ()
 Runs all tests.
 
virtual void setUp ()
 Sets up test environment.
 
- Public Member Functions inherited from tarch::tests::TestCase
 TestCase (const std::string &testCaseName)
 Constructor.
 
virtual ~TestCase ()
 Destructor.
 
int getNumberOfErrors () const
 
std::string getTestCaseName () const
 

Private Member Functions

void testComparison ()
 
void testAbs ()
 

Additional Inherited Members

- Protected Member Functions inherited from tarch::tests::TestCase
 TestCase ()=delete
 
- Protected Attributes inherited from tarch::tests::TestCase
const std::string _testCaseName
 Name of the test case.
 
int _errors
 Error counter.
 
bool _error
 Indicate within macro if one specific validation failed.
 

Detailed Description

Definition at line 15 of file ScalarTest.h.

Constructor & Destructor Documentation

◆ ScalarTest()

tarch::la::tests::ScalarTest::ScalarTest ( )

Constructor.

◆ ~ScalarTest()

virtual tarch::la::tests::ScalarTest::~ScalarTest ( )
virtual

Destructor, empty.

Definition at line 33 of file ScalarTest.h.

Member Function Documentation

◆ run()

virtual void tarch::la::tests::ScalarTest::run ( )
virtual

Runs all tests.

Implements tarch::tests::TestCase.

◆ setUp()

virtual void tarch::la::tests::ScalarTest::setUp ( )
virtual

Sets up test environment.

Definition at line 43 of file ScalarTest.h.

◆ testAbs()

void tarch::la::tests::ScalarTest::testAbs ( )
private

◆ testComparison()

void tarch::la::tests::ScalarTest::testComparison ( )
private

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