source: git/Tst/Manual/printf.tst @ 159ca3

fieker-DuValspielwiese
Last change on this file since 159ca3 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: 296 bytes
Line 
1LIB "tst.lib"; tst_init();
2  ring r=0,(x,y,z),dp;
3module m=[1,y],[0,x+z];
4intmat M=betti(mres(m,0));
5list l=r,m,matrix(M);
6printf("s:%s,l:%l",1,2);
7printf("s:%s",l);
8printf("s:%s",list(l));
9printf("2l:%2l",list(l));
10printf("%p",matrix(M));
11printf("%;",matrix(M));
12printf("%b",M);
13tst_status(1);$
Note: See TracBrowser for help on using the repository browser.