Changeset ae85a3 in git
- Timestamp:
- Apr 21, 2011, 1:40:35 PM (12 years ago)
- Branches:
- (u'spielwiese', '0d6b7fcd9813a1ca1ed4220cfa2b104b97a0a003')
- Children:
- 8167afd5e92aaed2ba8a54e3c1566fd86d339aa8
- Parents:
- 59a62bd935a023662ba918abaefcc861c4adbe81
- git-author:
- Oleksandr Motsak <motsak@mathematik.uni-kl.de>2011-04-21 13:40:35+02:00
- git-committer:
- Mohamed Barakat <mohamed.barakat@rwth-aachen.de>2011-11-09 12:31:24+01:00
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
libpolys/tests/coeffs_test.h
r59a62bd rae85a3 1 #include <cxxtest/TestSuite.h> 2 #include <cxxtest/GlobalFixture.h> 1 3 2 4 #include "config.h" … … 5 7 6 8 #include <reporter/reporter.h> 9 #include <resources/feResource.h> 7 10 8 11 #include <coeffs/coeffs.h> … … 89 92 n_Delete(&i, r); 90 93 } 94 clog<< "ss: "; PrintSized(ss, r); 91 95 92 96 ss = n_Neg(ss, r); // ss = -ss … … 196 200 { 197 201 clog << ( "Test: could not get this coeff. domain" ); 198 return false;202 return FALSE; 199 203 }; 204 205 TS_ASSERT_DIFFERS( r->cfCoeffWrite, NULLp ); 206 207 if( r->cfCoeffWrite != NULL ) 208 { 209 n_CoeffWrite(r); PrintLn(); 210 } 211 200 212 201 213 if (getCoeffType(r) == n_GF) //some special test for GF … … 324 336 325 337 338 339 class GlobalPrintingFixture : public CxxTest::GlobalFixture 340 { 341 public: 342 bool setUpWorld() { 343 clog << endl << ( "<world>" ) << endl; 344 feInitResources(); 345 return true; 346 } 347 bool tearDownWorld() { clog << endl <<( "</world>" ) << endl; return true; } 348 bool setUp() { clog << endl <<( "<test>" ) << endl; return true; } 349 bool tearDown() { clog << endl <<( "</test>" ) << endl; return true; } 350 }; 351 352 353 // 354 // We can rely on this file being included exactly once 355 // and declare this global variable in the header file. 356 // 357 static GlobalPrintingFixture globalPrintingFixture; 358 359 326 360 class CoeffsTestSuite : public CxxTest::TestSuite 327 361 {
Note: See TracChangeset
for help on using the changeset viewer.