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

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

#include <MatrixVectorTest.h>

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

Public Member Functions

 MatrixVectorTest ()
 Cosntructor.
virtual ~MatrixVectorTest ()
 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 testMultiplication ()
 Tests methods from MatrixVectorOperations.h.
void testForwardSubstitution ()
void testBackSubstitution ()
void testSolveSystem3x3 ()

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 20 of file MatrixVectorTest.h.

Constructor & Destructor Documentation

◆ MatrixVectorTest()

tarch::la::tests::MatrixVectorTest::MatrixVectorTest ( )

Cosntructor.

◆ ~MatrixVectorTest()

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

Destructor, empty.

Definition at line 45 of file MatrixVectorTest.h.

Member Function Documentation

◆ run()

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

This routine is triggered by the TestCaseCollection.

Implements tarch::tests::TestCase.

◆ setUp()

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

Setup your test case.

Definition at line 55 of file MatrixVectorTest.h.

◆ testBackSubstitution()

void tarch::la::tests::MatrixVectorTest::testBackSubstitution ( )
private

◆ testForwardSubstitution()

void tarch::la::tests::MatrixVectorTest::testForwardSubstitution ( )
private

◆ testMultiplication()

void tarch::la::tests::MatrixVectorTest::testMultiplication ( )
private

Tests methods from MatrixVectorOperations.h.

◆ testSolveSystem3x3()

void tarch::la::tests::MatrixVectorTest::testSolveSystem3x3 ( )
private

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