Changeset d5a88c in git


Ignore:
Timestamp:
Sep 1, 2016, 4:19:35 PM (8 years ago)
Author:
Hans Schoenemann <hannes@…>
Branches:
(u'fieker-DuVal', '117eb8c30fc9e991c4decca4832b1d19036c4c65')(u'spielwiese', '0bc2210f8055033868008a3836878db65ec6f89e')
Children:
00e1953cb6479f72c49c598e7a7c79c216b9d371
Parents:
a807c5a8eb9a2ad1143f248981fa1bdcac697a5b
Message:
fix make check: handle "gftables not found"
File:
1 edited

Legend:

Unmodified
Added
Removed
  • libpolys/polys/test.cc

    ra807c5 rd5a88c  
    368368     if( cf == NULL )
    369369       TS_FAIL("Could not get needed coeff. domain");
    370 
    371      TS_ASSERT_DIFFERS( cf, NULLp );
    372 
    373      ring r = rDefault( cf, 1, n);  // now cf belongs to r!
    374      TS_ASSERT_DIFFERS( r, NULLp );
    375 
    376      PrintRing(r);
    377 
    378      TS_ASSERT( rField_is_Domain(r) );
    379      TS_ASSERT( !rField_is_Q(r) );
    380 
    381      TS_ASSERT( !rField_is_Zp(r) );
    382      TS_ASSERT( !rField_is_Zp(r, 11) );
    383      TS_ASSERT( !rField_is_Zp(r, 13) );
    384      TS_ASSERT( rField_is_GF(r) );
    385 
    386      TS_ASSERT( rField_is_GF(r, 5) );
    387      TS_ASSERT( !rField_is_GF(r, 25) );
    388 
    389      TS_ASSERT_EQUALS( rVar(r), 1);
    390 
    391      Test(r);
    392 
    393      rDelete(r); // kills 'cf' as well!
     370     else
     371     {
     372       ring r = rDefault( cf, 1, n);  // now cf belongs to r!
     373       TS_ASSERT_DIFFERS( r, NULLp );
     374
     375       PrintRing(r);
     376
     377       TS_ASSERT( rField_is_Domain(r) );
     378       TS_ASSERT( !rField_is_Q(r) );
     379
     380       TS_ASSERT( !rField_is_Zp(r) );
     381       TS_ASSERT( !rField_is_Zp(r, 11) );
     382       TS_ASSERT( !rField_is_Zp(r, 13) );
     383       TS_ASSERT( rField_is_GF(r) );
     384
     385       TS_ASSERT( rField_is_GF(r, 5) );
     386       TS_ASSERT( !rField_is_GF(r, 25) );
     387
     388       TS_ASSERT_EQUALS( rVar(r), 1);
     389
     390       Test(r);
     391
     392       rDelete(r); // kills 'cf' as well!
     393     }
    394394   }
    395395
Note: See TracChangeset for help on using the changeset viewer.