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

Provides tests for types Vector, DynamicVector and all Vector functionality. More...

#include <VectorTest.h>

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

Public Member Functions

 VectorTest ()
 Cosntructor.
virtual ~VectorTest ()
 Destructor, empty.
virtual void run ()
 This routine is triggered by the TestCaseCollection.
virtual void setUp ()
 Setup your test case.
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 testConstruction ()
 Tests constructors.
void testAssignment ()
 Tests methods from VectorAssign.h and operator= from Vector types.
void testVectorOperations ()
 Tests methods from VectorOperations.h.
void testVectorScalarOperations ()
 Tests methods from VectorScalarOperations.h.
void testVectorVectorOperations ()
 Tests methods from VectorVectorOperations.h.
void testWrappedVector ()
 Tests wrapping a raw array with (static) vector semantics.
void testVectorCompare ()
 Tests methods from VectorCompare.h.
void testVectorVectorCompare ()

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

Provides tests for types Vector, DynamicVector and all Vector functionality.

Definition at line 18 of file VectorTest.h.

Constructor & Destructor Documentation

◆ VectorTest()

tarch::la::tests::VectorTest::VectorTest ( )

Cosntructor.

◆ ~VectorTest()

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

Destructor, empty.

Definition at line 69 of file VectorTest.h.

Member Function Documentation

◆ run()

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

This routine is triggered by the TestCaseCollection.

Implements tarch::tests::TestCase.

◆ setUp()

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

Setup your test case.

Definition at line 79 of file VectorTest.h.

◆ testAssignment()

void tarch::la::tests::VectorTest::testAssignment ( )
private

Tests methods from VectorAssign.h and operator= from Vector types.

◆ testConstruction()

void tarch::la::tests::VectorTest::testConstruction ( )
private

Tests constructors.

◆ testVectorCompare()

void tarch::la::tests::VectorTest::testVectorCompare ( )
private

Tests methods from VectorCompare.h.

◆ testVectorOperations()

void tarch::la::tests::VectorTest::testVectorOperations ( )
private

Tests methods from VectorOperations.h.

◆ testVectorScalarOperations()

void tarch::la::tests::VectorTest::testVectorScalarOperations ( )
private

Tests methods from VectorScalarOperations.h.

◆ testVectorVectorCompare()

void tarch::la::tests::VectorTest::testVectorVectorCompare ( )
private

◆ testVectorVectorOperations()

void tarch::la::tests::VectorTest::testVectorVectorOperations ( )
private

Tests methods from VectorVectorOperations.h.

◆ testWrappedVector()

void tarch::la::tests::VectorTest::testWrappedVector ( )
private

Tests wrapping a raw array with (static) vector semantics.


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