fieker-DuValspielwiese
Last change
on this file since b672d2 was
9f1bf0,
checked in by Andreas Steenpass <steenpass@…>, 10 years ago
|
chg: update tests for assprimeszerodim.lib
(cherry picked from commit 56603b02d3f85bff9a5dc45e81b00295f235a284)
Signed-off-by: Andreas Steenpass <steenpass@mathematik.uni-kl.de>
Conflicts:
Tst/Short/ok_s.lst
+ add assprimeszerodim_s.tst to Short.lst
|
-
Property mode set to
100755
|
File size:
851 bytes
|
Line | |
---|
1 | LIB "tst.lib"; |
---|
2 | tst_init(); |
---|
3 | |
---|
4 | LIB "assprimeszerodim.lib"; |
---|
5 | |
---|
6 | // example from manual |
---|
7 | ring R = 0, (x,y), dp; |
---|
8 | ideal I = xy4-2xy2+x, x2-x, y4-2y2+1; |
---|
9 | zeroRadical(I); |
---|
10 | |
---|
11 | // more examples |
---|
12 | ring R3 = 0,(x,y,z),dp; |
---|
13 | ideal I = x2+xy2z-2xy+y4+y2+z2, |
---|
14 | -x3y2+xy2z+xyz3-2xy+y4, |
---|
15 | -2x2y+xy4+yz4-3; |
---|
16 | assPrimes(I, "GTZ"); |
---|
17 | assPrimes(I, "EHV"); |
---|
18 | assPrimes(I, "Monico"); |
---|
19 | |
---|
20 | ring R4 = 0,(a,b,c,d,e,f,g,h,k,o),dp; |
---|
21 | ideal I = o+1, k4+k, hk, h4+h, gk, gh, g3+h3+k3+1, |
---|
22 | fk, f4+f, eh, ef, f3h3+e3k3+e3+f3+h3+k3+1, |
---|
23 | e3g+f3g+g, e4+e, dh3+dk3+d, dg, df, de, |
---|
24 | d3+e3+f3+1, e2g2+d2h2+c, f2g2+d2k2+b, |
---|
25 | f2h2+e2k2+a; |
---|
26 | assPrimes(I, "GTZ"); |
---|
27 | system("--random", 12345); // to get the same results on 32 and 64 bit |
---|
28 | assPrimes(I, "EHV"); |
---|
29 | system("--random", 12345); // to get the same results on 32 and 64 bit |
---|
30 | assPrimes(I, "Monico"); |
---|
31 | |
---|
32 | tst_status(1);$ |
---|
Note: See
TracBrowser
for help on using the repository browser.