OpenWalnut
1.2.5
|
UnitTests the WValueSet class. More...
#include <WValueSet_test.h>
Public Member Functions | |
void | testInstantiation (void) |
An instantiation should never throw an exception. | |
void | testGetNumberOfValues (void) |
The number of values retrieved is correct. | |
void | testRawSize (void) |
The raw size is the size of the number of integral elements inside this ValueSet. | |
void | testGetScalar (void) |
This function should return the i-th value if the value set is scalar. | |
void | testReadOnlyRawAccess (void) |
Raw Access should provide data access to the underlying array. | |
void | testGetWValue (void) |
This function should return the i-th WValue with of the used dimension (prerequisite the ValueSet has order 1) | |
void | testSubArrayInstantiation () |
A subarray should never exceed the valuesets boundaries and should not have a length of 0. | |
void | testSubArrayAccess () |
A subarray should return the correct elements. |
UnitTests the WValueSet class.
Definition at line 39 of file WValueSet_test.h.
|
inline |
The number of values retrieved is correct.
Definition at line 57 of file WValueSet_test.h.
References WValueSet< T >::size().
|
inline |
This function should return the i-th value if the value set is scalar.
Definition at line 90 of file WValueSet_test.h.
|
inline |
This function should return the i-th WValue with of the used dimension (prerequisite the ValueSet has order 1)
Definition at line 121 of file WValueSet_test.h.
References WValueSet< T >::getWValue(), and WValueSet< T >::size().
|
inline |
An instantiation should never throw an exception.
Definition at line 45 of file WValueSet_test.h.
|
inline |
The raw size is the size of the number of integral elements inside this ValueSet.
Definition at line 75 of file WValueSet_test.h.
References WValueSet< T >::rawSize().
|
inline |
Raw Access should provide data access to the underlying array.
Definition at line 106 of file WValueSet_test.h.
References WValueSet< T >::rawData().
|
inline |
A subarray should return the correct elements.
Definition at line 169 of file WValueSet_test.h.
|
inline |
A subarray should never exceed the valuesets boundaries and should not have a length of 0.
Definition at line 152 of file WValueSet_test.h.