Loading...
Searching...
No Matches
simple_test.h
Go to the documentation of this file.
#include "misc/auxiliary.h"
class SimplestTestSuite : public CxxTest::TestSuite
{
public:
void testMyTest()
{
float fnum = 2.00001f;
TS_ASSERT_DELTA (fnum, 2.0f, 0.0001f);
}
void testSIZEOFLONG()
{
TS_ASSERT( sizeof(long) == SIZEOF_LONG ); // correct config.h?
}
};
TS_ASSERT_DELTA
#define TS_ASSERT_DELTA(x, y, d)
Definition TestSuite.h:373
TS_ASSERT
#define TS_ASSERT(e)
Definition TestSuite.h:239
auxiliary.h
All the auxiliary stuff.
CxxTest::TestSuite
Definition TestSuite.h:22
SimplestTestSuite
Definition simple_test.h:4
SimplestTestSuite::testSIZEOFLONG
void testSIZEOFLONG()
Definition simple_test.h:12
SimplestTestSuite::testMyTest
void testMyTest()
Definition simple_test.h:6