OpenWalnut
1.5.0dev
|
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. More... | |
void | testAccessOn3x3Matrix (void) |
Access to elements on main diagonal is forbidden. More... | |
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. More... | |
void | testInvalidAccessOnMainDiagonal (void) |
Accessing diagonal elements is forbidden and an exception should be thrown. More... | |
void | testToString (void) |
Renders the matrix to a string, where each row is in a separate line. More... | |
void | testOutputStream (void) |
There should be an output operator for symmetric matrices. More... | |
void | testInputStream (void) |
There should be an input operator for symmetric matrices, reading data into a given matrix. More... | |
Unit test this LookUp table class.
All test performed on matrices with double as element type.
Definition at line 75 of file WMatrixSym_test.h.
|
inline |
Access to elements on main diagonal is forbidden.
Then other acess should be symmetric.
Definition at line 91 of file WMatrixSym_test.h.
References WMatrixSym< T >::setData().
|
inline |
There should be an input operator for symmetric matrices, reading data into a given matrix.
Definition at line 156 of file WMatrixSym_test.h.
References WMatrixSym< T >::setData().
|
inline |
Accessing diagonal elements is forbidden and an exception should be thrown.
Definition at line 117 of file WMatrixSym_test.h.
References WException::what().
|
inline |
Only the Elements of the upper/lower sym.
Matrix should be stored.
Definition at line 81 of file WMatrixSym_test.h.
References WMatrixSym< T >::m_data.
|
inline |
There should be an output operator for symmetric matrices.
Definition at line 140 of file WMatrixSym_test.h.
References WMatrixSym< T >::setData().
|
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 106 of file WMatrixSym_test.h.
References WMatrixSym< T >::setData(), and WException::what().
|
inline |
Renders the matrix to a string, where each row is in a separate line.
Definition at line 127 of file WMatrixSym_test.h.
References WMatrixSym< T >::setData(), and WMatrixSym< T >::toString().