OpenWalnut  1.2.5
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
Public Member Functions
WTensorTypesTest Class Reference

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

#include <WTensorBase_test.h>

+ Inheritance diagram for WTensorTypesTest:

List of all members.

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.

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

void WTensorTypesTest::testCastTensorToMatrix ( )
inline

Test casts from any tensorbase of order 2 to a WMatrix.

Definition at line 2355 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 2271 of file WTensorBase_test.h.

void WTensorTypesTest::testCastTensorToVector ( )
inline

Test casts from any tensorbase of order 1 to a WValue.

Definition at line 2316 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 2192 of file WTensorBase_test.h.


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