source: git/Tst/Short/ZidealAdd_s.tst @ f6bfc4

spielwiese
Last change on this file since f6bfc4 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: 481 bytes
Line 
1//
2// test script for addition of ideals over rings
3//
4LIB "tst.lib";
5tst_init();
6
7ring r=integer,(x,y),dp;
8ideal I=9,x;
9ideal J=3,x2;
10I+J;
11I=9,x;
12J=3,-x;
13I+J;
14I=-3,x;
15J=3,2x;
16I+J;
17kill r;
18// case over Z/m
19ring r=(integer,10),(x,y),dp;
20ideal I=4,x;
21ideal J=6,x2;
22I+J;
23I=5,x;
24J=5,-x;
25I+J;
26I=2,x;
27J=4,2x;
28I+J;
29I=9,x;
30J=2,x;
31I+J;
32I=5,2x;
33J=3x;
34I+J;
35kill r;
36// case over Z/2^n
37ring r=(integer,2,3),(x,y),dp;
38ideal I=4,-x2;
39ideal J=2x2;
40I+J;
41I=2,4x;
42J=2x;
43I+J;
44kill r;
45
46tst_status(1);$
Note: See TracBrowser for help on using the repository browser.