OpenWalnut
1.5.0dev
|
Test all typecasts and copy operators that copy from another type. More...
#include <WTensorBase_test.h>
Public Member Functions | |
void | testCopyContructorBaseFromBaseSym () |
Test constructing a WTensorBase from a WTensorBaseSym. More... | |
void | testCopyOperatorBaseFromSym () |
Test assignment of a WTensorBaseSym to a WTensorBase. More... | |
void | testCastTensorToValue () |
Test casts from any tensorbase of order 0 to a value. More... | |
void | testCastTensorToVector () |
Test casts from any tensorbase of order 1 to a WValue. More... | |
void | testCastTensorToMatrix () |
Test casts from any tensorbase of order 2 to a WMatrix. More... | |
Test all typecasts and copy operators that copy from another type.
Definition at line 2110 of file WTensorBase_test.h.
|
inline |
Test casts from any tensorbase of order 2 to a WMatrix.
Definition at line 2358 of file WTensorBase_test.h.
References WMatrix< T >::getNbCols(), and WMatrix< T >::getNbRows().
|
inline |
Test casts from any tensorbase of order 0 to a value.
Definition at line 2274 of file WTensorBase_test.h.
|
inline |
Test casts from any tensorbase of order 1 to a WValue.
Definition at line 2319 of file WTensorBase_test.h.
References WValue< T >::size().
|
inline |
Test constructing a WTensorBase from a WTensorBaseSym.
Definition at line 2116 of file WTensorBase_test.h.
|
inline |
Test assignment of a WTensorBaseSym to a WTensorBase.
Definition at line 2195 of file WTensorBase_test.h.