source: git/Tst/Short/assprimeszerodim_s.tst @ 57f6ffd

fieker-DuValspielwiese
Last change on this file since 57f6ffd 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 
1LIB "tst.lib";
2tst_init();
3
4LIB "assprimeszerodim.lib";
5
6// example from manual
7ring R = 0, (x,y), dp;
8ideal I = xy4-2xy2+x, x2-x, y4-2y2+1;
9zeroRadical(I);
10
11// more examples
12ring R3 = 0,(x,y,z),dp;
13ideal I = x2+xy2z-2xy+y4+y2+z2,
14          -x3y2+xy2z+xyz3-2xy+y4,
15          -2x2y+xy4+yz4-3;
16assPrimes(I, "GTZ");
17assPrimes(I, "EHV");
18assPrimes(I, "Monico");
19
20ring R4 = 0,(a,b,c,d,e,f,g,h,k,o),dp;
21ideal 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;
26assPrimes(I, "GTZ");
27system("--random", 12345);   // to get the same results on 32 and 64 bit
28assPrimes(I, "EHV");
29system("--random", 12345);   // to get the same results on 32 and 64 bit
30assPrimes(I, "Monico");
31
32tst_status(1);$
Note: See TracBrowser for help on using the repository browser.