|
OpenWalnut
1.2.5
|
Test class for WTensorBase. More...
#include <WTensorBase_test.h>
Inheritance diagram for WTensorBaseTest:Public Member Functions | |
| void | testTensorBaseConstructor () |
| The standard constructor should allocate enough memory and set all elements to zero. | |
| void | testWTensorBaseCopyConstructor () |
| The copy constructor should copy all values. | |
| void | testWTensorBaseCopyOperatorSimple () |
| Test the copy operator. | |
| void | testWTensorBaseCopyOperatorSelfCopy () |
| Test if the copy operator handles assignments of variables to themselves correctly. | |
| void | testWTensorBaseArrayAccessErrorConditions () |
| Test if the access operator correctly throws Exceptions only when the input indices are invalid. | |
| void | testWTensorBaseArrayAccess () |
| Test if the array access operator returns the correct elements. | |
| void | testWTensorBaseVectorAccess () |
| Test the std::vector version of operator [] for correct handling of various input vector sizes. | |
| void | testWTensorBaseCompareOperator () |
| Test if operator == works correctly. | |
| void | testWTensorBaseCompareOperator2 () |
| Test if operator != works correctly. | |
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.
References WTensorBase< 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 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.
References WTensorBase< order, dim, Data_T >::m_data.
|
inline |
Test if the copy operator handles assignments of variables to themselves correctly.
Definition at line 334 of file WTensorBase_test.h.
References WTensorBase< order, dim, Data_T >::m_data.
|
inline |
Test the copy operator.
Definition at line 212 of file WTensorBase_test.h.
References WTensorBase< 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 640 of file WTensorBase_test.h.
1.8.1