Main Page
Related Pages
Data Structures
Files
File List
Globals
libpolys
tests
simple_test.h
Go to the documentation of this file.
1
2
3
4
#include <
misc/auxiliary.h
>
5
6
class
SimplestTestSuite
:
public
CxxTest::TestSuite
7
{
8
public
:
9
void
testMyTest
()
10
{
11
float
fnum = 2.00001f;
12
TS_ASSERT_DELTA
(fnum, 2.0
f
, 0.0001
f
);
13
}
14
15
void
testSIZEOFLONG
()
16
{
17
TS_ASSERT
(
sizeof
(
long
) == SIZEOF_LONG );
// correct config.h?
18
}
19
20
};
21
SimplestTestSuite::testSIZEOFLONG
void testSIZEOFLONG()
Definition:
simple_test.h:15
TS_ASSERT
#define TS_ASSERT(e)
Definition:
TestSuite.h:239
TS_ASSERT_DELTA
#define TS_ASSERT_DELTA(x, y, d)
Definition:
TestSuite.h:373
SimplestTestSuite::testMyTest
void testMyTest()
Definition:
simple_test.h:9
auxiliary.h
All the auxiliary stuff.
f
FILE * f
Definition:
checklibs.c:7
CxxTest::TestSuite
Definition:
TestSuite.h:21
SimplestTestSuite
Definition:
simple_test.h:6
Generated on Wed May 25 2016 10:19:37 by
doxygen 1.8.11
for
Singular debian-4.0.3-p1+ds-2build1