Changeset 141342 in git for libpolys/tests/polys_test.h


Ignore:
Timestamp:
May 25, 2011, 11:13:13 AM (13 years ago)
Author:
Frank Seelisch <seelisch@…>
Branches:
(u'spielwiese', 'ec94ef7a30b928574c0c3daf41f6804dff5f6b69')
Children:
f0797cc6a47f909e14515d7d07179ce7dbb9c8b7
Parents:
48a994659e87a54916c1ebffdba59be9375387e4
git-author:
Frank Seelisch <seelisch@mathematik.uni-kl.de>2011-05-25 11:13:13+02:00
git-committer:
Mohamed Barakat <mohamed.barakat@rwth-aachen.de>2011-11-09 12:36:52+01:00
Message:
nExt replaced by n_algExt and n_transExt
File:
1 edited

Legend:

Unmodified
Added
Removed
  • libpolys/tests/polys_test.h

    r48a994 r141342  
    560560    minIdeal->m[0] = minPoly;                       // minIdeal = < a^2 + 1 >
    561561
    562     n_coeffType type = nRegister(n_Ext, naInitChar);
    563     TS_ASSERT(type == n_Ext);
     562    n_coeffType type = nRegister(n_algExt, naInitChar);
     563    TS_ASSERT(type == n_algExt);
    564564
    565565    ExtInfo extParam;
     
    581581      n_CoeffWrite(cf); PrintLn();
    582582    }
     583   
     584    TS_ASSERT( nCoeff_is_algExt(cf) );
     585    TS_ASSERT( !nCoeff_is_transExt(cf) );
     586    TS_ASSERT( nCoeff_is_Q_a(cf) );
     587    TS_ASSERT( !nCoeff_is_Zp_a(cf) );
    583588   
    584589    // some tests for the coefficient field represented by cf:
     
    658663    minIdeal->m[0] = minPoly;                       // minIdeal = < b^7 + 17 >
    659664
    660     n_coeffType type = nRegister(n_Ext, naInitChar);
    661     TS_ASSERT(type == n_Ext);
     665    n_coeffType type = nRegister(n_algExt, naInitChar);
     666    TS_ASSERT(type == n_algExt);
    662667
    663668    ExtInfo extParam;
     
    679684      n_CoeffWrite(cf); PrintLn();
    680685    }
     686   
     687    TS_ASSERT( nCoeff_is_algExt(cf) );
     688    TS_ASSERT( !nCoeff_is_transExt(cf) );
     689    TS_ASSERT( nCoeff_is_Q_a(cf) );
     690    TS_ASSERT( !nCoeff_is_Zp_a(cf) );
    681691   
    682692    // some tests for the coefficient field represented by cf:
     
    799809    minIdeal->m[0] = minPoly;                       // minIdeal = < a^2 + 3 >
    800810
    801     n_coeffType type = nRegister(n_Ext, naInitChar);
    802     TS_ASSERT(type == n_Ext);
     811    n_coeffType type = nRegister(n_algExt, naInitChar);
     812    TS_ASSERT(type == n_algExt);
    803813
    804814    ExtInfo extParam;
     
    820830      n_CoeffWrite(cf); PrintLn();
    821831    }
     832   
     833    TS_ASSERT( nCoeff_is_algExt(cf) );
     834    TS_ASSERT( !nCoeff_is_transExt(cf) );
     835    TS_ASSERT( !nCoeff_is_Q_a(cf) );
     836    TS_ASSERT( nCoeff_is_Zp_a(cf) );
    822837   
    823838    // some tests for the coefficient field represented by cf:
     
    849864
    850865    Test(s);
    851    
     866    /*
    852867#ifdef HAVE_FACTORY
    853868    poly f = p_ISet(3, s);
     
    870885    p_Delete(&h, s);
    871886#endif
     887    */
    872888    rDelete(s); // kills 'cf' and 'r' as well
    873889  }
Note: See TracChangeset for help on using the changeset viewer.