Changeset 48a994 in git for libpolys/tests/polys_test.h
- Timestamp:
- May 24, 2011, 5:26:59 PM (12 years ago)
- Branches:
- (u'spielwiese', '8e0ad00ce244dfd0756200662572aef8402f13d5')
- Children:
- 141342d81455232f75bdb4b9179a8cd396939ba4
- Parents:
- fd01a83f2928a88d4e9d30135f2d31d120fe30b3
- git-author:
- Frank Seelisch <seelisch@mathematik.uni-kl.de>2011-05-24 17:26:59+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
rfd01a8 r48a994 20 20 21 21 #include <polys/simpleideals.h> 22 23 #ifdef HAVE_FACTORY 22 24 #include <polys/clapsing.h> 25 #include <factory/factory.h> 26 #endif 23 27 24 28 class MyGlobalPrintingFixture : public GlobalPrintingFixture … … 846 850 Test(s); 847 851 852 #ifdef HAVE_FACTORY 848 853 poly f = p_ISet(3, s); 849 854 p_SetExp(f, 1, 3, s); … … 860 865 plusTerm(g, 8, 1, 4, s); // 7*u^5*v^6*w^2 + 8*u^4 861 866 p_Write(g, s); 862 poly h = singclap_gcd(f, g, s); // u^3*v*w^2, destroys f and g867 poly h = singclap_gcd(f, g, s); // at least u^3, destroys f and g 863 868 p_Write(h, s); 864 869 p_Test(h, s); 865 870 p_Delete(&h, s); 866 871 #endif 867 872 rDelete(s); // kills 'cf' and 'r' as well 868 873 }
Note: See TracChangeset
for help on using the changeset viewer.