Peano 4
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 ()
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)
virtual ~TestCase ()
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 ( )


Definition at line 13 of file MatrixVectorTest.cpp.

◆ ~MatrixVectorTest()

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

Destructor, empty.

Definition at line 45 of file MatrixVectorTest.h.

Member Function Documentation

◆ run()

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

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 ( )

Setup your test case.

Definition at line 55 of file MatrixVectorTest.h.

◆ testBackSubstitution()

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

Definition at line 43 of file MatrixVectorTest.cpp.

◆ testForwardSubstitution()

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

Definition at line 39 of file MatrixVectorTest.cpp.

◆ testMultiplication()

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

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 ( )

Definition at line 47 of file MatrixVectorTest.cpp.

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