OpenWalnut  1.4.0
Public Member Functions
WMatrixTest Class Reference

Tests for WMatrix. More...

#include <WMatrix_test.h>

+ Inheritance diagram for WMatrixTest:

List of all members.

Public Member Functions

void testInstantiation (void)
 Instantiation should throw nothing.
void testCopyInstantiation (void)
 Instantiation with copy constructor should throw nothing.
void testGetNbRowsAndCols (void)
 Number of rows and columns should be return correctly.
void testElementAccessOperator (void)
 Element access operator should work correctly.
void testConstElementAccessOperator (void)
 Constant element access operator should work correctly.
void testEqualityOperator (void)
 Test for equality comparison of two matrices.
void testInequalityOperator (void)
 Test for inequality comparison of two matrices.
void testAssignmentOperator (void)
 Test assignment operator of WMatrix.
void testTransposed (void)
 Test transposed method of WMatrix.
void testIsIdentity (void)
 Test isIdentity method of WMatrix.

Detailed Description

Tests for WMatrix.

Definition at line 35 of file WMatrix_test.h.


Member Function Documentation

void WMatrixTest::testAssignmentOperator ( void  ) [inline]

Test assignment operator of WMatrix.

Definition at line 184 of file WMatrix_test.h.

Constant element access operator should work correctly.

Definition at line 89 of file WMatrix_test.h.

void WMatrixTest::testCopyInstantiation ( void  ) [inline]

Instantiation with copy constructor should throw nothing.

Definition at line 50 of file WMatrix_test.h.

void WMatrixTest::testElementAccessOperator ( void  ) [inline]

Element access operator should work correctly.

Definition at line 70 of file WMatrix_test.h.

void WMatrixTest::testEqualityOperator ( void  ) [inline]

Test for equality comparison of two matrices.

Definition at line 104 of file WMatrix_test.h.

void WMatrixTest::testGetNbRowsAndCols ( void  ) [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().

void WMatrixTest::testInequalityOperator ( void  ) [inline]

Test for inequality comparison of two matrices.

Definition at line 144 of file WMatrix_test.h.

void WMatrixTest::testInstantiation ( void  ) [inline]

Instantiation should throw nothing.

Definition at line 41 of file WMatrix_test.h.

void WMatrixTest::testIsIdentity ( void  ) [inline]

Test isIdentity method of WMatrix.

Definition at line 254 of file WMatrix_test.h.

References WMatrix< T >::isIdentity(), and WMatrix< T >::makeIdentity().

void WMatrixTest::testTransposed ( void  ) [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().


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