source: git/Tst/Manual/updatePairs.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: 286 bytes
Line 
1LIB "tst.lib"; tst_init();
2LIB "teachstd.lib";
3ring R1=0,(x,y,z),(c,dp);
4ideal S = x2y+x2,y3+xyz;
5poly h = x2y+xyz;
6list P = pairset(S)[1];
7P;"";
8updatePairs(P,S,h);"";
9module T = [x2y3-z2,x2y],[x2y4+z3,x2+y2];
10P = pairset(T)[1];
11P;"";
12updatePairs(P,T,[x2+x2y,y3+xyz]);
13tst_status(1);$
Note: See TracBrowser for help on using the repository browser.