My Project
Loading...
Searching...
No Matches
libpolys
tests
simple_test.h
Go to the documentation of this file.
1
#include "
misc/auxiliary.h
"
2
3
class
SimplestTestSuite
:
public
CxxTest::TestSuite
4
{
5
public
:
6
void
testMyTest
()
7
{
8
float
fnum = 2.00001f;
9
TS_ASSERT_DELTA
(fnum, 2.0f, 0.0001f);
10
}
11
12
void
testSIZEOFLONG
()
13
{
14
TS_ASSERT
(
sizeof
(
long
) == SIZEOF_LONG );
// correct config.h?
15
}
16
17
};
18
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
Generated on Mon Feb 27 2023 10:53:49 for My Project by
doxygen 1.9.5
for
Singular