spielwiese
Last change
on this file since 4e59df4 was
1cbc28,
checked in by Oleksandr Motsak <motsak@…>, 12 years ago
|
updated test according to legacy Singular + new lists of tests
|
-
Property mode set to
100644
|
File size:
809 bytes
|
Rev | Line | |
---|
[1cbc28] | 1 | LIB "tst.lib"; |
---|
| 2 | tst_init(); |
---|
| 3 | |
---|
| 4 | LIB "parallel.lib"; |
---|
| 5 | LIB "primdec.lib"; |
---|
| 6 | |
---|
| 7 | ring r = 0, (x,y,z), lp; |
---|
| 8 | ideal i = z8+z6+4z5+4z3+4z2+4, y-z2; |
---|
| 9 | ideal j = 3x3y+x3+xy3+y2z2, 2x3z-xy-xz3-y4-z2, 2x2yz-2xy2+xz2-y4; |
---|
| 10 | list commands = list("std", "primdecGTZ", "primdecSY", |
---|
| 11 | "std", "primdecGTZ", "primdecSY"); |
---|
| 12 | list args = list(list(i), list(i), list(i), |
---|
| 13 | list(j), list(j), list(j)); |
---|
| 14 | parallelWaitN(commands, args, 3); |
---|
| 15 | |
---|
| 16 | commands = list("primdecGTZ", "primdecSY"); |
---|
| 17 | args = list(list(i), list(i)); |
---|
| 18 | //parallelWaitFirst(commands, args); // not reproducable! |
---|
| 19 | |
---|
| 20 | ring s = 0, (x,y,z), dp; |
---|
| 21 | ideal i1 = z8+z6+4z5+4z3+4z2+4, y-z2; |
---|
| 22 | ideal i2 = x10+x9y2, y8-x2y7; |
---|
| 23 | ideal i3 = x3-2xy, x2y-2y2+x; |
---|
| 24 | string command = "std"; |
---|
| 25 | list args = list(list(i1), list(i2), list(i3)); |
---|
| 26 | parallelWaitAll(command, args); |
---|
| 27 | |
---|
| 28 | tst_status(1);$ |
---|
Note: See
TracBrowser
for help on using the repository browser.