fieker-DuValspielwiese
Last change
on this file since 85bcd6 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:
334 bytes
|
Line | |
---|
1 | LIB "tst.lib"; tst_init(); |
---|
2 | LIB "rootsmr.lib"; |
---|
3 | ring r = 0,(x,y,z),dp; |
---|
4 | ideal i = (x-1)*(x-2),(y-1),(z-1)*(z-2)*(z-3)^2; |
---|
5 | i = std(i); |
---|
6 | ideal b = qbase(i); |
---|
7 | poly p = randcharpoly(b,i); |
---|
8 | p; |
---|
9 | nrroots(p); // See nrroots in urrcount.lib |
---|
10 | int pr = printlevel; |
---|
11 | printlevel = pr+2; |
---|
12 | p = randcharpoly(b,i,5); |
---|
13 | nrroots(p); |
---|
14 | printlevel = pr; |
---|
15 | tst_status(1);$ |
---|
Note: See
TracBrowser
for help on using the repository browser.