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 | |
---|
1 | LIB "tst.lib"; tst_init(); |
---|
2 | LIB "normal.lib"; |
---|
3 | int prl = printlevel; |
---|
4 | printlevel = -1; |
---|
5 | ring r = 0,(x,y),dp; |
---|
6 | ideal i = (x-y^2)^2 - y*x^3; |
---|
7 | list nor = normal(i); |
---|
8 | norTest(i,nor); //1,1,1 means that normal was correct |
---|
9 | nor = normalC(i); |
---|
10 | norTest(i,nor); //1,1,1 means that normal was correct |
---|
11 | ring s = 2,(x,y),dp; |
---|
12 | ideal i = (x-y^2)^2 - y*x^3; |
---|
13 | nor = normalP(i,"withRing"); |
---|
14 | norTest(i,nor); //1,1,1 means that normalP was correct |
---|
15 | printlevel = prl; |
---|
16 | tst_status(1);$ |
---|
Note: See
TracBrowser
for help on using the repository browser.