source: git/Tst/Manual/isReg.tst @ 951db29

spielwiese
Last change on this file since 951db29 was 894057, checked in by Oleksandr Motsak <motsak@…>, 13 years ago
ADD: Tests from online manual (res+stat on mamawutz): short ones Tst/Manual/s.lst
  • Property mode set to 100644
File size: 384 bytes
Line 
1LIB "tst.lib"; tst_init();
2LIB "homolog.lib";
3ring R = 0,(x,y,z),dp;
4ideal I = x*(y-1),y,z*(y-1);
5isReg(I,0);             // given list of generators is Q[x,y,z]-sequence
6I = x*(y-1),z*(y-1),y;  // change sorting of generators
7isReg(I,0);
8ring r = 0,(x,y,z),ds;  // local ring
9ideal I=fetch(R,I);
10isReg(I,0);             // result independent of sorting of generators
11tst_status(1);$
Note: See TracBrowser for help on using the repository browser.