|
OpenWalnut
1.2.5
|
Test class for WTensorBaseSym. More...
#include <WTensorBase_test.h>
Inheritance diagram for WTensorBaseSymTest:Public Member Functions | |
| void | testTensorBaseSymConstructor () |
| The standard constructor should allocate enough memory and set all elements to zero. | |
| void | testWTensorBaseSymCopyConstructor () |
| The copy constructor should copy all values. | |
| void | testWTensorBaseSymCopyOperatorSimple () |
| Test the copy operator. | |
| void | testWTensorBaseSymCopyOperatorSelfCopy () |
| Test if the copy operator handles assignments of variables to themselves correctly. | |
| void | testWTensorBaseSymArrayAccessErrorConditions () |
| Test if the access operator correctly throws Exceptions only when the input indices are invalid. | |
| void | testWTensorBaseSymArrayAccess () |
| Test if the array access operator returns the correct elements. | |
| void | testWTensorBaseSymAccessOperatorPermutations () |
| Test if operator [] correctly maps permutations of the same set of indices to the same array positions. | |
| void | testWTensorBaseSymVectorAccess () |
| Test the std::vector version of operator [] for correct handling of various input vector sizes. | |
| void | testWTensorBaseSymCompareOperator () |
| Test if operator == works correctly. | |
| void | testWTensorBaseSymCompareOperator2 () |
| Test if operator != works correctly. | |
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.
References WTensorBaseSym< order, dim, Data_T >::m_data.
|
inline |
Test if the array access operator returns the correct elements.
Definition at line 1457 of file WTensorBase_test.h.
References WTensorBaseSym< order, dim, Data_T >::m_data.
|
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.
References WTensorBaseSym< order, dim, Data_T >::m_data.
|
inline |
Test if the copy operator handles assignments of variables to themselves correctly.
Definition at line 1267 of file WTensorBase_test.h.
References WTensorBaseSym< order, dim, Data_T >::m_data.
|
inline |
Test the copy operator.
Definition at line 1168 of file WTensorBase_test.h.
References WTensorBaseSym< order, dim, Data_T >::m_data.
|
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.
1.8.1