OpenWalnut
1.5.0dev
|
#include <WMatrix_test.h>
Public Member Functions | |
void | testInstantiation (void) |
Instantiation should throw nothing. More... | |
void | testCopyInstantiation (void) |
Instantiation with copy constructor should throw nothing. More... | |
void | testGetNbRowsAndCols (void) |
Number of rows and columns should be return correctly. More... | |
void | testElementAccessOperator (void) |
Element access operator should work correctly. More... | |
void | testConstElementAccessOperator (void) |
Constant element access operator should work correctly. More... | |
void | testEqualityOperator (void) |
Test for equality comparison of two matrices. More... | |
void | testInequalityOperator (void) |
Test for inequality comparison of two matrices. More... | |
void | testAssignmentOperator (void) |
Test assignment operator of WMatrix. More... | |
void | testTransposed (void) |
Test transposed method of WMatrix. More... | |
void | testIsIdentity (void) |
Test isIdentity method of WMatrix. More... | |
Tests for WMatrix.
Definition at line 35 of file WMatrix_test.h.
|
inline |
Test assignment operator of WMatrix.
Definition at line 184 of file WMatrix_test.h.
|
inline |
Constant element access operator should work correctly.
Definition at line 89 of file WMatrix_test.h.
|
inline |
Instantiation with copy constructor should throw nothing.
Definition at line 50 of file WMatrix_test.h.
|
inline |
Element access operator should work correctly.
Definition at line 70 of file WMatrix_test.h.
|
inline |
Test for equality comparison of two matrices.
Definition at line 104 of file WMatrix_test.h.
|
inline |
Number of rows and columns should be return correctly.
Definition at line 59 of file WMatrix_test.h.
References WMatrix< T >::getNbCols(), and WMatrix< T >::getNbRows().
|
inline |
Test for inequality comparison of two matrices.
Definition at line 144 of file WMatrix_test.h.
|
inline |
Instantiation should throw nothing.
Definition at line 41 of file WMatrix_test.h.
|
inline |
Test isIdentity method of WMatrix.
Definition at line 254 of file WMatrix_test.h.
References WMatrix< T >::isIdentity(), and WMatrix< T >::makeIdentity().
|
inline |
Test transposed method of WMatrix.
Definition at line 230 of file WMatrix_test.h.
References WMatrix< T >::getNbCols(), WMatrix< T >::getNbRows(), and WMatrix< T >::transposed().