Changeset 141342 in git for libpolys/tests/polys_test.h
- Timestamp:
- May 25, 2011, 11:13:13 AM (13 years ago)
- 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
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
libpolys/tests/polys_test.h
r48a994 r141342 560 560 minIdeal->m[0] = minPoly; // minIdeal = < a^2 + 1 > 561 561 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); 564 564 565 565 ExtInfo extParam; … … 581 581 n_CoeffWrite(cf); PrintLn(); 582 582 } 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) ); 583 588 584 589 // some tests for the coefficient field represented by cf: … … 658 663 minIdeal->m[0] = minPoly; // minIdeal = < b^7 + 17 > 659 664 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); 662 667 663 668 ExtInfo extParam; … … 679 684 n_CoeffWrite(cf); PrintLn(); 680 685 } 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) ); 681 691 682 692 // some tests for the coefficient field represented by cf: … … 799 809 minIdeal->m[0] = minPoly; // minIdeal = < a^2 + 3 > 800 810 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); 803 813 804 814 ExtInfo extParam; … … 820 830 n_CoeffWrite(cf); PrintLn(); 821 831 } 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) ); 822 837 823 838 // some tests for the coefficient field represented by cf: … … 849 864 850 865 Test(s); 851 866 /* 852 867 #ifdef HAVE_FACTORY 853 868 poly f = p_ISet(3, s); … … 870 885 p_Delete(&h, s); 871 886 #endif 887 */ 872 888 rDelete(s); // kills 'cf' and 'r' as well 873 889 }
Note: See TracChangeset
for help on using the changeset viewer.