source: git/Tst/Old/err4.tst @ b35b93

spielwiese
Last change on this file since b35b93 was b35b93, checked in by Olaf Bachmann <obachman@…>, 26 years ago
This commit was generated by cvs2svn to compensate for changes in r1396, which included commits to RCS files with non-trunk default branches. git-svn-id: file:///usr/local/Singular/svn/trunk@1397 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//
50pagelength = 10000;
51ring r4=0,(x(1..10),y(1..9),z(1..8)),dp;
52r4;
53varstr(r4,28);
54kill r4;
55// -----------------------------------------------------------
56//an error of 0.8.9c (crash/undef output)
57// (Cottbus)
58//
59// test script for nameof command
60//
61int i=9;
62string st=nameof(i+1);
63st;
64// -----------------------------------------------------------
65//an error of 0.8.9c (crash for det of nonsquare)
66// GMG
67ring r;
68ideal I =x,y,z,zy;
69matrix m =jacob(I);
70det(m);
71kill r;
72// -----------------------------------------------------------
73//an error of 0.8.9c (crash if proc paramter is a ring)
74// GMG
75ring r;
76r;
77r;
78proc t
79{
80listvar(all);
81;
82}
83t(r);
84listvar(all);
85r;
86kill r;kill t;
87// -----------------------------------------------------------
88// test automatic set of options for various rings
89// GP/HS
90option();
91option(intStrategy);
92option();
93option(nointStrategy);
94option();
95ring r=32003,x,dp;
96r;
97option();
98option(intStrategy);
99option();
100option(nointStrategy);
101option();
102kill r;
103ring r=0,x,dp;
104r;
105option();
106option(intStrategy);
107option();
108option(nointStrategy);
109option();
110kill r;
111ring r=(0,a),x,dp;
112r;
113option();
114option(intStrategy);
115option();
116option(nointStrategy);
117option();
118kill r;
119ring r=(7,a),x,dp;
120r;
121option();
122option(intStrategy);
123option();
124option(nointStrategy);
125option();
126kill r;
127// -----------------------------------------------------------
128// could not display number from lists (sleftv::String())
129// OB/HS
130ring r=0,x,dpi;list l=1/2;l[1];
131$
132
Note: See TracBrowser for help on using the repository browser.