source: git/Tst/Manual/compress.tst

spielwiese
Last change on this file 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: 290 bytes
Line 
1LIB "tst.lib"; tst_init();
2LIB "matrix.lib";
3ring r=0,(x,y,z),ds;
4matrix A[3][4]=1,0,3,0,x,0,z,0,x2,0,z2,0;
5print(A);
6print(compress(A));
7module m=module(A); show(m);
8show(compress(m));
9intmat B[3][4]=1,0,3,0,4,0,5,0,6,0,7,0;
10compress(B);
11intvec C=0,0,1,2,0,3;
12compress(C);
13tst_status(1);$
Note: See TracBrowser for help on using the repository browser.