Changeset 8f26a44 in git for libpolys/tests/simple_test.h


Ignore:
Timestamp:
Aug 5, 2013, 5:33:18 PM (11 years ago)
Author:
Oleksandr Motsak <motsak@…>
Branches:
(u'spielwiese', 'fe61d9c35bf7c61f2b6cbf1b56e25e2f08d536cc')
Children:
60ff027fe2f1d52fb364602595ca246476a5d2dc
Parents:
ce9bfe4db5a16a3879122ddef6492a0b970949cb
git-author:
Oleksandr Motsak <motsak@mathematik.uni-kl.de>2013-08-05 17:33:18+02:00
git-committer:
Oleksandr Motsak <motsak@mathematik.uni-kl.de>2013-08-12 12:19:32+02:00
Message:
Assure that config.h was generated on 'compatible' cpu (same size of long)
File:
1 edited

Legend:

Unmodified
Added
Removed
  • libpolys/tests/simple_test.h

    rce9bfe r8f26a44  
    1 
    2 
    3 
     1#ifdef HAVE_CONFIG_H
     2#include "config.h"
     3#endif /* HAVE_CONFIG_H */
     4#include <misc/auxiliary.h>
    45
    56class SimplestTestSuite : public CxxTest::TestSuite
     
    1112                TS_ASSERT_DELTA (fnum, 2.0f, 0.0001f);
    1213   }
     14   
     15   void testSIZEOFLONG()
     16   {
     17      TS_ASSERT( sizeof(long) == SIZEOF_LONG ); // correct config.h?
     18   }
     19   
    1320};
    1421
Note: See TracChangeset for help on using the changeset viewer.