25 #ifndef WVALUESETBASE_TEST_H
26 #define WVALUESETBASE_TEST_H
28 #include <cxxtest/TestSuite.h>
30 #include "../WValueSetBase.h"
31 #include "../WDataHandlerEnums.h"
70 virtual size_t size()
const
148 TS_ASSERT_EQUALS( d2.dimension(), 2 );
160 #endif // WVALUESETBASE_TEST_H
Dummy()
Standard constructor of Dummy class.
void testDimension(void)
Checks if the dimension using the dummy is right.
Testing abstract class via a Dummy class derived esp.
Base class for all higher level values like tensors, vectors, matrices and so on. ...
virtual double getScalarDouble(size_t) const
Get the value.
virtual dataType getDataType() const
void testDataType(void)
Checks if the dimension using the dummy is right.
virtual double getMinimumValue() const
This method returns the smallest value in the valueset.
virtual size_t rawSize() const
Get the raw size.
virtual size_t size() const
Get the size.
virtual ~Dummy()
Destructor.
Dummy class for testing the abstract class WGrid.
Dummy(char dimension)
Constructor of Dummy class for testing.
virtual double getMaximumValue() const
This method returns the largest value in the valueset.
void testInstantiation(void)
Checks if the Dummy is instanceable.
Abstract base class to all WValueSets.
virtual size_t dimension() const
virtual WValue< double > getWValueDouble(size_t) const