source: git/Tst/Old/err4.tst @ 5065cf

fieker-DuValspielwiese
Last change on this file since 5065cf was 37cd955, checked in by Hans Schoenemann <hannes@…>, 14 years ago
pagelength removed git-svn-id: file:///usr/local/Singular/svn/trunk@13172 2c84dea3-7e68-4137-9b89-c4e89433aadc
  • Property mode set to 100644
File size: 2.5 KB
Line 
1//an error of 0.8.9a (intersect in char 0)
2//(kreusler)
3ring r=0,(x,y,z),(c,lp);
4vector v(1)=[xy+y2,x,1];
5vector v(2)=[x2+z2,x-y,0,1];
6vector v(3)=[xz,y,0,0,1];
7module M=v(1),v(2),v(3);
8module Ms=std(M);
9Ms;
10module N=gen(3),gen(4),gen(5);
11intersect(Ms,N);
12kill r;
13//--------------------------------------------------------------
14//an error of 0.8.9a (undefined names output for block C)
15ring r=0,x,(dp,C);
16r;
17kill r;
18//--------------------------------------------------------------
19//an error of 0.8.9a (crash: deg(0) was undefined)
20// (B.Martin)
21ring r=0,x,(dp,C);
22poly f;
23deg(f);
24kill r;
25//--------------------------------------------------------------
26//an error of 0.8.9a (crash for gmp/i386/-O2)
27// (B.Martin)
28ring r=0,(x,y,z),(dp);
29poly f=(x+y)^11;
30subst(f,x,2);
31kill r;
32//---------------------------------------------------------------
33//an error of 0.8.9b (incorrect) and 0.8.9c (crash)
34// (H.S.)
35ring r;
36ideal i=1;
37degree(i);
38dim(i);
39mult(i);
40i=0;
41degree(i);
42dim(i);
43mult(i);
44//---------------------------------------------------------------
45//an error of 0.8.9c (crash)
46// (Cottbus)
47//
48// test script for var command
49//
50ring r4=0,(x(1..10),y(1..9),z(1..8)),dp;
51r4;
52varstr(r4,28);
53kill r4;
54// -----------------------------------------------------------
55//an error of 0.8.9c (crash/undef output)
56// (Cottbus)
57//
58// test script for nameof command
59//
60int i=9;
61string st=nameof(i+1);
62st;
63// -----------------------------------------------------------
64//an error of 0.8.9c (crash for det of nonsquare)
65// GMG
66ring r;
67ideal I =x,y,z,zy;
68matrix m =jacob(I);
69det(m);
70kill r;
71// -----------------------------------------------------------
72//an error of 0.8.9c (crash if proc paramter is a ring)
73// GMG
74ring r;
75r;
76r;
77proc t
78{
79listvar(all);
80;
81}
82t(r);
83listvar(all);
84r;
85kill r;kill t;
86// -----------------------------------------------------------
87// test automatic set of options for various rings
88// GP/HS
89option();
90option(intStrategy);
91option();
92option(nointStrategy);
93option();
94ring r=32003,x,dp;
95r;
96option();
97option(intStrategy);
98option();
99option(nointStrategy);
100option();
101kill r;
102ring r=0,x,dp;
103r;
104option();
105option(intStrategy);
106option();
107option(nointStrategy);
108option();
109kill r;
110ring r=(0,a),x,dp;
111r;
112option();
113option(intStrategy);
114option();
115option(nointStrategy);
116option();
117kill r;
118ring r=(7,a),x,dp;
119r;
120option();
121option(intStrategy);
122option();
123option(nointStrategy);
124option();
125kill r;
126// -----------------------------------------------------------
127// could not display number from lists (sleftv::String())
128// OB/HS
129ring r=0,x,dp;list l=1/2;l[1];
130LIB "tst.lib";tst_status(1);$
131
Note: See TracBrowser for help on using the repository browser.