source: git/Tst/Short/Zdim_s.tst @ 09cb443

spielwiese
Last change on this file since 09cb443 was dd5534, checked in by Frank Seelisch <seelisch@…>, 13 years ago
fixed dim of ideal and sum of ideals over rings (with Anne) git-svn-id: file:///usr/local/Singular/svn/trunk@13973 2c84dea3-7e68-4137-9b89-c4e89433aadc
  • Property mode set to 100644
File size: 620 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.