Peano 4
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.

Definition at line 13 of file MatrixVectorTest.cpp.

◆ ~MatrixVectorTest()

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

Destructor, empty.

Definition at line 45 of file MatrixVectorTest.h.

Member Function Documentation

◆ run()

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

This routine is triggered by the TestCaseCollection.

Implements tarch::tests::TestCase.

Definition at line 18 of file MatrixVectorTest.cpp.

References testMethod.

◆ 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

Definition at line 43 of file MatrixVectorTest.cpp.

◆ testForwardSubstitution()

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

Definition at line 39 of file MatrixVectorTest.cpp.

◆ testMultiplication()

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

Tests methods from MatrixVectorOperations.h.

Definition at line 26 of file MatrixVectorTest.cpp.

References matrix, tarch::la::multiply(), and validateEquals.

Here is the call graph for this function:

◆ testSolveSystem3x3()

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

Definition at line 47 of file MatrixVectorTest.cpp.


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