source: git/Tst/Manual/show.tst @ 6fb723

fieker-DuValspielwiese
Last change on this file since 6fb723 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: 510 bytes
Line 
1LIB "tst.lib"; tst_init();
2LIB "inout.lib";
3ring r;
4show(r);
5ideal i=x^3+y^5-6*z^3,xy,x3-y2;
6show(i,3);            // introduce 3 space tabs before information
7vector v=x*gen(1)+y*gen(3);
8module m=v,2*v+gen(4);
9list L = i,v,m;
10show(L);
11ring S=(0,T),(a,b,c,d),ws(1,2,3,4);
12minpoly = T^2+1;
13ideal i=a2+b,c2+T^2*d2; i=std(i);
14qring Q=i;
15show(Q);
16map F=r,a2,b^2,3*c3;
17show(F);
18// Apply 'show' to i (which does not belong to the basering) by typing
19// ring r; ideal i=xy,x3-y2; ring Q; show(r,"i");
20tst_status(1);$
Note: See TracBrowser for help on using the repository browser.