source: git/Tst/Manual/dsum.tst @ 4efdd1c

spielwiese
Last change on this file since 4efdd1c 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: 184 bytes
Line 
1LIB "tst.lib"; tst_init();
2LIB "matrix.lib";
3ring r = 0,(x,y,z),ds;
4matrix A[3][3] = 1,2,3,4,5,6,7,8,9;
5matrix B[2][2] = 1,x,y,z;
6print(A);
7print(B);
8print(dsum(A,B));
9tst_status(1);$
Note: See TracBrowser for help on using the repository browser.