source: git/Tst/Short/mres_s.tst @ 29fc843

spielwiese
Last change on this file since 29fc843 was 341696, checked in by Hans Schönemann <hannes@…>, 14 years ago
Adding Id property to all files git-svn-id: file:///usr/local/Singular/svn/trunk@12231 2c84dea3-7e68-4137-9b89-c4e89433aadc
  • Property mode set to 100644
File size: 1.2 KB
Line 
1LIB "tst.lib";
2tst_init();
3tst_ignore("CVS ID $Id$");
4
5proc tst_test_mres(ideal i)
6{
7   resolution rs = mres(i, 0);
8   rs;
9   list(rs);
10   betti(rs);
11}
12
13
14ring an=32003,(w,x,y,z),(dp,c);
15ideal i=
16wx2+y3,
17xy2+z3,
18yz2+w3,
19zw2+x3,
20xyz+yzw+zwx+wxy;
21tst_test_mres(i);
22kill an;
23
24ring an=32003,(w,x,y,z),(dp,c);
25ideal i=
26wx+y2,
27xy+z2,
28yz+w2,
29zw+x2,
30xy+yz+zw+wx;
31tst_test_mres(i);
32kill an;
33
34
35
36ring an=32003,(x,y,z),(dp,c);
37ideal i=
38zx2+y3,
39xy2+z3,
40yz2+x3,
41x2y+y2z+z2x;
42tst_test_mres(i);
43kill an;
44
45ring an=32003,(w,x,y,z),(dp,C);
46ideal i=
471w2xy+1w2xz+1w2yz+1wxyz+1x2yz+1xy2z+1xyz2,
481w4x+1w4z+1w3yz+1w2xyz+1wx2yz+1x2y2z+1xy2z2,
491w6+1w5z+1w4xz+1w3xyz+1w2xy2z+1wx2y2z+1x2y2z2;
50tst_test_mres(i);
51kill an;
52
53ring an=0,(w,x,y,z),(dp,C);
54ideal i=
551w2xy+1w2xz+1w2yz+1wxyz+1x2yz+1xy2z+1xyz2,
561w4x+1w4z+1w3yz+1w2xyz+1wx2yz+1x2y2z+1xy2z2,
571w6+1w5z+1w4xz+1w3xyz+1w2xy2z+1wx2y2z+1x2y2z2;
58tst_test_mres(i);
59kill an;
60
61ring an=0,(w,x,y,z),(dp,c);
62ideal i=
63wx2+y3,
64xy2+z3,
65yz2+w3,
66zw2+x3,
67xyz+yzw+zwx+wxy;
68tst_test_mres(i, 1);
69kill an;
70
71ring an=0,(w,x,y,z),(dp,c);
72ideal i=
73wx+y2,
74xy+z2,
75yz+w2,
76zw+x2,
77xy+yz+zw+wx;
78tst_test_mres(i);
79kill an;
80
81ring an=0,(x,y,z),(dp,c);
82ideal i=
83zx2+y3,
84xy2+z3,
85yz2+x3,
86x2y+y2z+z2x;
87tst_test_mres(i);
88kill an;
89
90tst_status(1);$
Note: See TracBrowser for help on using the repository browser.