spielwiese
Release-4-3-2p2
Last change
on this file since 0d6b7fc 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:
328 bytes
|
Line | |
---|
1 | LIB "tst.lib"; tst_init(); |
---|
2 | LIB "general.lib"; |
---|
3 | ring r1 = 0,(x,y,z),dp; |
---|
4 | vector pv = [xy,xz,yz,x2,y2,z2]; |
---|
5 | sum(pv); |
---|
6 | sum(pv,2..5); |
---|
7 | matrix M[2][3] = 1,x,2,y,3,z; |
---|
8 | intvec w=2,4,6; |
---|
9 | sum(M,w); |
---|
10 | intvec iv = 1,2,3,4,5,6,7,8,9; |
---|
11 | sum(iv,2..4); |
---|
12 | iv = intvec(1..100); |
---|
13 | sum(iv); |
---|
14 | ring r2 = 0,(x(1..10)),dp; |
---|
15 | sum(x(3..7),intvec(1,3,5)); |
---|
16 | tst_status(1);$ |
---|
Note: See
TracBrowser
for help on using the repository browser.