OpenWalnut
1.5.0dev
|
Test class for WTensorBase. More...
#include <WTensorBase_test.h>
Public Member Functions | |
void | testTensorBaseConstructor () |
The standard constructor should allocate enough memory and set all elements to zero. More... | |
void | testWTensorBaseCopyConstructor () |
The copy constructor should copy all values. More... | |
void | testWTensorBaseCopyOperatorSimple () |
Test the copy operator. More... | |
void | testWTensorBaseCopyOperatorSelfCopy () |
Test if the copy operator handles assignments of variables to themselves correctly. More... | |
void | testWTensorBaseArrayAccessErrorConditions () |
Test if the access operator correctly throws Exceptions only when the input indices are invalid. More... | |
void | testWTensorBaseArrayAccess () |
Test if the array access operator returns the correct elements. More... | |
void | testWTensorBaseVectorAccess () |
Test the std::vector version of operator [] for correct handling of various input vector sizes. More... | |
void | testWTensorBaseCompareOperator () |
Test if operator == works correctly. More... | |
void | testWTensorBaseCompareOperator2 () |
Test if operator != works correctly. More... | |
Test class for WTensorBase.
Definition at line 50 of file WTensorBase_test.h.
|
inline |
The standard constructor should allocate enough memory and set all elements to zero.
Definition at line 59 of file WTensorBase_test.h.
|
inline |
Test if the array access operator returns the correct elements.
Definition at line 523 of file WTensorBase_test.h.
|
inline |
Test if the access operator correctly throws Exceptions only when the input indices are invalid.
Definition at line 378 of file WTensorBase_test.h.
|
inline |
Test if operator == works correctly.
Definition at line 756 of file WTensorBase_test.h.
|
inline |
Test if operator != works correctly.
Definition at line 902 of file WTensorBase_test.h.
|
inline |
The copy constructor should copy all values.
Definition at line 120 of file WTensorBase_test.h.
|
inline |
Test if the copy operator handles assignments of variables to themselves correctly.
Definition at line 334 of file WTensorBase_test.h.
|
inline |
Test the copy operator.
Definition at line 212 of file WTensorBase_test.h.
|
inline |
Test the std::vector version of operator [] for correct handling of various input vector sizes.
Definition at line 640 of file WTensorBase_test.h.