OpenWalnut
1.4.0
|
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. | |
void | testCopyOperatorBaseFromSym () |
Test assignment of a WTensorBaseSym to a WTensorBase. | |
void | testCastTensorToValue () |
Test casts from any tensorbase of order 0 to a value. | |
void | testCastTensorToVector () |
Test casts from any tensorbase of order 1 to a WValue. | |
void | testCastTensorToMatrix () |
Test casts from any tensorbase of order 2 to a WMatrix. |
Test all typecasts and copy operators that copy from another type.
Definition at line 2110 of file WTensorBase_test.h.
void WTensorTypesTest::testCastTensorToMatrix | ( | ) | [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().
void WTensorTypesTest::testCastTensorToValue | ( | ) | [inline] |
Test casts from any tensorbase of order 0 to a value.
Definition at line 2274 of file WTensorBase_test.h.
void WTensorTypesTest::testCastTensorToVector | ( | ) | [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().
void WTensorTypesTest::testCopyContructorBaseFromBaseSym | ( | ) | [inline] |
Test constructing a WTensorBase from a WTensorBaseSym.
Definition at line 2116 of file WTensorBase_test.h.
void WTensorTypesTest::testCopyOperatorBaseFromSym | ( | ) | [inline] |
Test assignment of a WTensorBaseSym to a WTensorBase.
Definition at line 2195 of file WTensorBase_test.h.