source: git/Tst/Short/quotient_s.tst @ 0f2fcb4

spielwiese
Last change on this file since 0f2fcb4 was 46976a6, checked in by Olaf Bachmann <obachman@…>, 26 years ago
* added status check to regress.cmd * added tst_status(1); call to each tst file, just before quit git-svn-id: file:///usr/local/Singular/svn/trunk@2271 2c84dea3-7e68-4137-9b89-c4e89433aadc
  • Property mode set to 100644
File size: 605 bytes
Line 
1LIB "tst.lib";
2tst_init();
3//
4// test script for quotient command
5//
6ring r1 = 32003,(x,y,z),(c,ls);
7r1;
8"-------------------------------";
9ideal i1=maxideal(3);
10ideal i2=x2+xyz,y2-z4y,z3+y6x2z;
11ideal i3=quotient(i1,i2);
12i3;
13"---------------------------------";
14ideal i4=quotient(i2,i1);
15i4;
16"---------------------------------";
17ideal i5=quotient(i2,maxideal(2));
18i5;
19"--------------------------------";
20listvar(all);
21kill r1;
22ring r=181,(x,y,z),(c,ls);
23ideal id1=maxideal(3);
24id1;
25ideal id2=x2+xyz,y2-z3y,z3+y5xz;
26id2;
27ideal id6=quotient(id1,id2);
28id6;
29ideal id7=quotient(id2,id1);
30id7;
31tst_status(1);$;
Note: See TracBrowser for help on using the repository browser.