source: git/Tst/Manual/norTest.tst @ 42ea848

spielwiese
Last change on this file since 42ea848 was 894057, checked in by Oleksandr Motsak <motsak@…>, 13 years ago
ADD: Tests from online manual (res+stat on mamawutz): short ones Tst/Manual/s.lst
  • Property mode set to 100644
File size: 494 bytes
Line 
1LIB "tst.lib"; tst_init();
2LIB "normal.lib";
3int prl = printlevel;
4printlevel = -1;
5ring r = 0,(x,y),dp;
6ideal i = (x-y^2)^2 - y*x^3;
7list nor = normal(i);
8norTest(i,nor);                //1,1,1 means that normal was correct
9nor = normalC(i);
10norTest(i,nor);                //1,1,1 means that normal was correct
11ring s = 2,(x,y),dp;
12ideal i = (x-y^2)^2 - y*x^3;
13nor = normalP(i,"withRing");
14norTest(i,nor);               //1,1,1 means that normalP was correct
15printlevel = prl;
16tst_status(1);$
Note: See TracBrowser for help on using the repository browser.