source: git/Tst/Short/Zdim_s.tst

spielwiese
Last change on this file was 75f460, checked in by Hans Schoenemann <hannes@…>, 9 years ago
format
  • Property mode set to 100644
File size: 619 bytes
Line 
1//
2// test script for dim over rings
3//
4LIB "tst.lib";
5tst_init();
6
7// case over a field -- just to make sure nothing was broken by adding Z[x]
8ring r=0,(x,y),dp;
9ideal I=2,x;
10dim(std(I));
11I=x;
12dim(std(I));
13kill r;
14ring r=0,(x,y),ds;
15ideal I=2-x,y;
16dim(std(I));
17// case over integers
18ring r=integer,(x,y),dp;
19ideal I=2,x;
20dim(std(I));
21I=x;
22dim(std(I));
23kill r;
24// case over Z/2^n
25ring r=(integer,2,4),(x,y),dp;
26ideal I=2,x;
27dim(std(I));
28I=3,x;
29dim(std(I));
30I=x;
31dim(std(I));
32kill r;
33// case over Z/m
34ring r=(integer,10),(x,y),dp;
35ideal I=2,x;
36dim(std(I));
37I=3,x;
38dim(std(I));
39I=x;
40dim(std(I));
41kill r;
42
43tst_status(1);$
Note: See TracBrowser for help on using the repository browser.