source: git/libpolys/tests/simple_test.h @ ba5e9e

spielwiese
Last change on this file since ba5e9e was ba5e9e, checked in by Oleksandr Motsak <motsak@…>, 11 years ago
Changed configure-scripts to generate individual public config files for each package: resources, libpolys, singular (main) fix: sources should include correct corresponding config headers.
  • Property mode set to 100644
File size: 384 bytes
Line 
1#ifdef HAVE_CONFIG_H
2#include "libpolysconfig.h"
3#endif /* HAVE_CONFIG_H */
4#include <misc/auxiliary.h>
5
6class SimplestTestSuite : public CxxTest::TestSuite
7{
8public:
9   void testMyTest()
10   {
11                float fnum = 2.00001f;         
12                TS_ASSERT_DELTA (fnum, 2.0f, 0.0001f);
13   }
14   
15   void testSIZEOFLONG()
16   {
17      TS_ASSERT( sizeof(long) == SIZEOF_LONG ); // correct config.h?
18   }
19   
20};
21
Note: See TracBrowser for help on using the repository browser.