OpenWalnut
1.5.0dev
|
UnitTests the WValueSet class. More...
#include <WValueSet_test.h>
Public Member Functions | |
void | testInstantiation (void) |
An instantiation should never throw an exception. More... | |
void | testGetNumberOfValues (void) |
The number of values retrieved is correct. More... | |
void | testRawSize (void) |
The raw size is the size of the number of integral elements inside this ValueSet. More... | |
void | testGetScalar (void) |
This function should return the i-th value if the value set is scalar. More... | |
void | testReadOnlyRawAccess (void) |
Raw Access should provide data access to the underlying array. More... | |
void | testGetWValue (void) |
This function should return the i-th WValue with of the used dimension (prerequisite the ValueSet has order 1) More... | |
void | testSubArrayInstantiation () |
A subarray should never exceed the valuesets boundaries and should not have a length of 0. More... | |
void | testSubArrayAccess () |
A subarray should return the correct elements. More... | |
UnitTests the WValueSet class.
Definition at line 40 of file WValueSet_test.h.
|
inline |
The number of values retrieved is correct.
Definition at line 58 of file WValueSet_test.h.
|
inline |
This function should return the i-th value if the value set is scalar.
Definition at line 91 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 122 of file WValueSet_test.h.
|
inline |
An instantiation should never throw an exception.
Definition at line 46 of file WValueSet_test.h.
|
inline |
The raw size is the size of the number of integral elements inside this ValueSet.
Definition at line 76 of file WValueSet_test.h.
|
inline |
Raw Access should provide data access to the underlying array.
Definition at line 107 of file WValueSet_test.h.
|
inline |
A subarray should return the correct elements.
Definition at line 170 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 153 of file WValueSet_test.h.