source: git/Tst/Short/mres_s.tst @ b7d0a9c

spielwiese
Last change on this file since b7d0a9c was ef52d6, checked in by Oleksandr Motsak <motsak@…>, 11 years ago
Update testsuite wrt current master (320c4f5e64cad778b4ada9556a9b0a6c71cab83a) NOTE: some wrong/bad tests were removed... TODO: add the reset of these updates after updating LIB/
  • Property mode set to 100644
File size: 1.2 KB
Line 
1LIB "tst.lib";
2tst_init();
3
4proc tst_test_mres(ideal i)
5{
6   resolution rs = mres(i, 0);
7   rs;
8   list(rs);
9   betti(rs);
10}
11
12
13ring an=32003,(w,x,y,z),(dp,c);
14ideal i=
15wx2+y3,
16xy2+z3,
17yz2+w3,
18zw2+x3,
19xyz+yzw+zwx+wxy;
20tst_test_mres(i);
21kill an;
22
23ring an=32003,(w,x,y,z),(dp,c);
24ideal i=
25wx+y2,
26xy+z2,
27yz+w2,
28zw+x2,
29xy+yz+zw+wx;
30tst_test_mres(i);
31kill an;
32
33
34
35ring an=32003,(x,y,z),(dp,c);
36ideal i=
37zx2+y3,
38xy2+z3,
39yz2+x3,
40x2y+y2z+z2x;
41tst_test_mres(i);
42kill an;
43
44ring an=32003,(w,x,y,z),(dp,C);
45ideal i=
461w2xy+1w2xz+1w2yz+1wxyz+1x2yz+1xy2z+1xyz2,
471w4x+1w4z+1w3yz+1w2xyz+1wx2yz+1x2y2z+1xy2z2,
481w6+1w5z+1w4xz+1w3xyz+1w2xy2z+1wx2y2z+1x2y2z2;
49tst_test_mres(i);
50kill an;
51
52ring an=0,(w,x,y,z),(dp,C);
53ideal i=
541w2xy+1w2xz+1w2yz+1wxyz+1x2yz+1xy2z+1xyz2,
551w4x+1w4z+1w3yz+1w2xyz+1wx2yz+1x2y2z+1xy2z2,
561w6+1w5z+1w4xz+1w3xyz+1w2xy2z+1wx2y2z+1x2y2z2;
57tst_test_mres(i);
58kill an;
59
60ring an=0,(w,x,y,z),(dp,c);
61ideal i=
62wx2+y3,
63xy2+z3,
64yz2+w3,
65zw2+x3,
66xyz+yzw+zwx+wxy;
67tst_test_mres(i, 1);
68kill an;
69
70ring an=0,(w,x,y,z),(dp,c);
71ideal i=
72wx+y2,
73xy+z2,
74yz+w2,
75zw+x2,
76xy+yz+zw+wx;
77tst_test_mres(i);
78kill an;
79
80ring an=0,(x,y,z),(dp,c);
81ideal i=
82zx2+y3,
83xy2+z3,
84yz2+x3,
85x2y+y2z+z2x;
86tst_test_mres(i);
87kill an;
88
89tst_status(1);$
Note: See TracBrowser for help on using the repository browser.