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

spielwiese
Last change on this file since 405407 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
RevLine 
[8f26a44]1#ifdef HAVE_CONFIG_H
[ba5e9e]2#include "libpolysconfig.h"
[8f26a44]3#endif /* HAVE_CONFIG_H */
4#include <misc/auxiliary.h>
[4aa8610]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   }
[8f26a44]14   
15   void testSIZEOFLONG()
16   {
17      TS_ASSERT( sizeof(long) == SIZEOF_LONG ); // correct config.h?
18   }
19   
[4aa8610]20};
21
Note: See TracBrowser for help on using the repository browser.