OpenWalnut
1.5.0dev
|
Test class for WTensorBaseSym. More...
#include <WTensorBase_test.h>
Public Member Functions | |
void | testTensorBaseSymConstructor () |
The standard constructor should allocate enough memory and set all elements to zero. More... | |
void | testWTensorBaseSymCopyConstructor () |
The copy constructor should copy all values. More... | |
void | testWTensorBaseSymCopyOperatorSimple () |
Test the copy operator. More... | |
void | testWTensorBaseSymCopyOperatorSelfCopy () |
Test if the copy operator handles assignments of variables to themselves correctly. More... | |
void | testWTensorBaseSymArrayAccessErrorConditions () |
Test if the access operator correctly throws Exceptions only when the input indices are invalid. More... | |
void | testWTensorBaseSymArrayAccess () |
Test if the array access operator returns the correct elements. More... | |
void | testWTensorBaseSymAccessOperatorPermutations () |
Test if operator [] correctly maps permutations of the same set of indices to the same array positions. More... | |
void | testWTensorBaseSymVectorAccess () |
Test the std::vector version of operator [] for correct handling of various input vector sizes. More... | |
void | testWTensorBaseSymCompareOperator () |
Test if operator == works correctly. More... | |
void | testWTensorBaseSymCompareOperator2 () |
Test if operator != works correctly. More... | |
Test class for WTensorBaseSym.
Definition at line 985 of file WTensorBase_test.h.
|
inline |
The standard constructor should allocate enough memory and set all elements to zero.
Definition at line 991 of file WTensorBase_test.h.
|
inline |
Test if operator [] correctly maps permutations of the same set of indices to the same array positions.
Definition at line 1561 of file WTensorBase_test.h.
|
inline |
Test if the array access operator returns the correct elements.
Definition at line 1457 of file WTensorBase_test.h.
|
inline |
Test if the access operator correctly throws Exceptions only when the input indices are invalid.
Definition at line 1311 of file WTensorBase_test.h.
|
inline |
Test if operator == works correctly.
Definition at line 1737 of file WTensorBase_test.h.
|
inline |
Test if operator != works correctly.
Definition at line 1875 of file WTensorBase_test.h.
|
inline |
The copy constructor should copy all values.
Definition at line 1053 of file WTensorBase_test.h.
|
inline |
Test if the copy operator handles assignments of variables to themselves correctly.
Definition at line 1267 of file WTensorBase_test.h.
|
inline |
Test the copy operator.
Definition at line 1168 of file WTensorBase_test.h.
|
inline |
Test the std::vector version of operator [] for correct handling of various input vector sizes.
Definition at line 1632 of file WTensorBase_test.h.