source:
git/libpolys/tests/simple_test.h
Last change on this file was aadd638, checked in by , 7 years ago | |
---|---|
|
|
File size: 298 bytes |
Rev | Line | |
---|---|---|
[aadd638] | 1 | #include "misc/auxiliary.h" |
[4aa8610] | 2 | |
[fea494] | 3 | class SimplestTestSuite : public CxxTest::TestSuite |
[4aa8610] | 4 | { |
5 | public: | |
6 | void testMyTest() | |
7 | { | |
[75f460] | 8 | float fnum = 2.00001f; |
[4aa8610] | 9 | TS_ASSERT_DELTA (fnum, 2.0f, 0.0001f); |
10 | } | |
[fea494] | 11 | |
[8f26a44] | 12 | void testSIZEOFLONG() |
13 | { | |
[fea494] | 14 | TS_ASSERT( sizeof(long) == SIZEOF_LONG ); // correct config.h? |
[8f26a44] | 15 | } |
[fea494] | 16 | |
[4aa8610] | 17 | }; |
18 |
Note: See TracBrowser
for help on using the repository browser.