Changeset b27c052 in git for libpolys/tests/coeffs_test.h
- Timestamp:
- Apr 27, 2011, 3:09:38 AM (12 years ago)
- Branches:
- (u'jengelh-datetime', 'ceac47cbc86fe4a15902392bdbb9bd2ae0ea02c6')(u'spielwiese', 'f875bbaccd0831e36aaed09ff6adeb3eb45aeb94')
- Children:
- f70f641abd84405ed069738ba8c3597d64be24dc
- Parents:
- 6c084af83f830337d6cc5d88e05a66c74d9350f8
- git-author:
- Oleksandr Motsak <motsak@mathematik.uni-kl.de>2011-04-27 03:09:38+02:00
- git-committer:
- Mohamed Barakat <mohamed.barakat@rwth-aachen.de>2011-11-09 12:31:29+01:00
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
libpolys/tests/coeffs_test.h
r6c084af rb27c052 1 #include <cxxtest/TestSuite.h>2 #include <cxxtest/GlobalFixture.h>3 4 1 #include "config.h" 5 2 #include <misc/auxiliary.h> 6 3 #include <omalloc/omalloc.h> 4 7 5 8 6 #include <reporter/reporter.h> … … 62 60 63 61 clog<< "N*(N+1)/2: "; PrintSized(res, r); 62 63 64 64 number d = n_Sub(res, sum1, r); 65 66 65 TS_ASSERT( n_IsZeroDivisor(d, r) ); 66 n_Delete(&d, r); 67 67 68 68 if( n_GetChar(r) == 0 ) … … 336 336 } 337 337 338 339 340 class GlobalPrintingFixture : public CxxTest::GlobalFixture341 {342 public:343 bool setUpWorld() {344 clog << endl << ( "<world>" ) << endl;345 feInitResources(argv0);346 return true;347 }348 bool tearDownWorld() { clog << endl <<( "</world>" ) << endl; return true; }349 bool setUp() { clog << endl <<( "<test>" ) << endl; return true; }350 bool tearDown() { clog << endl <<( "</test>" ) << endl; return true; }351 };352 353 354 //355 338 // We can rely on this file being included exactly once 356 339 // and declare this global variable in the header file.
Note: See TracChangeset
for help on using the changeset viewer.