![]() |
Peano
|
Provides tests for types Vector, DynamicVector and all Vector functionality. More...
#include <MatrixVectorTest.h>
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. | |
![]() | |
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 | |
![]() | |
TestCase ()=delete | |
![]() | |
const std::string | _testCaseName |
Name of the test case. | |
int | _errors |
Error counter. | |
bool | _error |
Indicate within macro if one specific validation failed. | |
Provides tests for types Vector, DynamicVector and all Vector functionality.
Definition at line 20 of file MatrixVectorTest.h.
tarch::la::tests::MatrixVectorTest::MatrixVectorTest | ( | ) |
Cosntructor.
Definition at line 13 of file MatrixVectorTest.cpp.
|
virtual |
Destructor, empty.
Definition at line 45 of file MatrixVectorTest.h.
|
virtual |
This routine is triggered by the TestCaseCollection.
Implements tarch::tests::TestCase.
Definition at line 18 of file MatrixVectorTest.cpp.
References testMethod.
|
virtual |
Setup your test case.
Definition at line 55 of file MatrixVectorTest.h.
|
private |
Definition at line 43 of file MatrixVectorTest.cpp.
|
private |
Definition at line 39 of file MatrixVectorTest.cpp.
|
private |
Tests methods from MatrixVectorOperations.h.
Definition at line 26 of file MatrixVectorTest.cpp.
References tarch::la::multiply(), and validateEquals.
|
private |
Definition at line 47 of file MatrixVectorTest.cpp.