OpenWalnut  1.5.0dev
Public Member Functions | List of all members
WTensorTypesTest Class Reference

Test all typecasts and copy operators that copy from another type. More...

#include <WTensorBase_test.h>

+ Inheritance diagram for WTensorTypesTest:
+ Collaboration diagram for WTensorTypesTest:

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...
 

Detailed Description

Test all typecasts and copy operators that copy from another type.

Definition at line 2110 of file WTensorBase_test.h.

Member Function Documentation

◆ testCastTensorToMatrix()

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().

+ Here is the call graph for this function:

◆ testCastTensorToValue()

void WTensorTypesTest::testCastTensorToValue ( )
inline

Test casts from any tensorbase of order 0 to a value.

Definition at line 2274 of file WTensorBase_test.h.

◆ testCastTensorToVector()

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().

+ Here is the call graph for this function:

◆ testCopyContructorBaseFromBaseSym()

void WTensorTypesTest::testCopyContructorBaseFromBaseSym ( )
inline

Test constructing a WTensorBase from a WTensorBaseSym.

Definition at line 2116 of file WTensorBase_test.h.

◆ testCopyOperatorBaseFromSym()

void WTensorTypesTest::testCopyOperatorBaseFromSym ( )
inline

Test assignment of a WTensorBaseSym to a WTensorBase.

Definition at line 2195 of file WTensorBase_test.h.


The documentation for this class was generated from the following file: