8 #ifndef META_OCEAN_TEST_TESTIO_TEST_BITSTREAM_H
9 #define META_OCEAN_TEST_TESTIO_TEST_BITSTREAM_H
37 static bool test(
const double testDuration);
59 ocean_assert(inputStream);
62 if (!inputStream.
read<T>(value))
67 return value == expectedValue;
This class implements a test for the Bitstream class.
Definition: TestBitstream.h:29
static bool testInputOutputBitstream()
Tests the input and output bitstream functions.
static bool test(const double testDuration)
Tests all functions of the Bitstream class.
static bool readValue(IO::InputBitstream &inputStream, const T &expectedValue)
Reads one value from an input stream and checks whether the value matches with a given value.
Definition: TestBitstream.h:57
The namespace covering the entire Ocean framework.
Definition: Accessor.h:15