Unit test this LookUp table class. More...
#include <WMatrixSym_test.h>
Public Member Functions | |
void | testOperatorOn3x3Matrix (void) |
Only the Elements of the upper/lower sym. | |
void | testAccessOn3x3Matrix (void) |
Access to elements on main diagonal is forbidden. | |
void | testSetDataWithInvalidLengthForDimension (void) |
If new elements are set via the setData() method then it has to be checked if the dimension is valid for the number of elements which are given. | |
void | testInvalidAccessOnMainDiagonal (void) |
Accessing diagonal elements is forbidden and an exception should be thrown. |
Unit test this LookUp table class.
All test performed on matrices with double as element type.
Definition at line 39 of file WMatrixSym_test.h.
void WMatrixSymTest::testAccessOn3x3Matrix | ( | void | ) | [inline] |
Access to elements on main diagonal is forbidden.
Then other acess should be symmetric.
Definition at line 55 of file WMatrixSym_test.h.
References WMatrixSymImpl< T >::setData().
void WMatrixSymTest::testInvalidAccessOnMainDiagonal | ( | void | ) | [inline] |
Accessing diagonal elements is forbidden and an exception should be thrown.
Definition at line 81 of file WMatrixSym_test.h.
References WException::what().
void WMatrixSymTest::testOperatorOn3x3Matrix | ( | void | ) | [inline] |
Only the Elements of the upper/lower sym.
Matrix should be stored.
Definition at line 45 of file WMatrixSym_test.h.
References WMatrixSymImpl< T >::m_data.
void WMatrixSymTest::testSetDataWithInvalidLengthForDimension | ( | void | ) | [inline] |
If new elements are set via the setData() method then it has to be checked if the dimension is valid for the number of elements which are given.
Definition at line 70 of file WMatrixSym_test.h.
References WMatrixSymImpl< T >::setData(), and WException::what().