Ticket #119: mres_vl.2.tst

File mres_vl.2.tst, 735 bytes (added by Oleksandr , 14 years ago)

same test (in commutative setting)

Line 
1proc Test()
2{
3  ////////////////////////////////////////////////////////
4  basering;
5
6
7  ideal I = maxideal(1);
8
9  def RR = nres(I, 0);
10  RR;
11  list LL = RR;
12  LL;
13 
14
15  def R = mres(I, 0); // BUG!
16  R;
17
18  list L = R;
19
20  "Resolution: ";
21 
22  L;
23
24  "Syzygy: ";
25
26  syz(I);
27
28  "Syzygy(Syzygy):";
29
30  syz(syz(I));
31}
32
33system("NCUseExtensions", 0); // NO SCA!!!
34option(prot); // option(redTail); option(redSB);
35LIB "ncalg.lib";
36
37
38
39
40
41ring r;
42qring q = std(maxideal(1));
43
44Test(); // BUG: resolution minimization in a factor algebra: Segmentation fault!!!
45
46
47
48$$$
49
50
51
52def U = makeUsl2(); setring U;
53// Test(); // Nothing in G-algebra
54
55ideal Q = twostd(ideal(var(3)));
56Q;
57qring RQ = Q;
58
59Test(); // factor algebra!!! Segmentation fault!!!
60
61
62
63
64
65$$$