spielwiese
Last change
on this file since ef52d6 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:
345 bytes
|
Line | |
---|
1 | LIB "tst.lib"; tst_init(); |
---|
2 | intvec v=-1,2; |
---|
3 | intvec w=v,v; // concatenation |
---|
4 | w; |
---|
5 | w=2:3; // repetition |
---|
6 | w; |
---|
7 | int k = 3; |
---|
8 | v = 7:k; |
---|
9 | v; |
---|
10 | v=-1,2; |
---|
11 | w=-2..2,v,1; |
---|
12 | w; |
---|
13 | intmat m[3][2] = 0,1,2,-2,3,1; |
---|
14 | m*v; |
---|
15 | typeof(_); |
---|
16 | v = intvec(m); |
---|
17 | v; |
---|
18 | ring r; |
---|
19 | poly f = x2z + 2xy-z; |
---|
20 | f; |
---|
21 | v = leadexp(f); |
---|
22 | v; |
---|
23 | tst_status(1);$ |
---|
Note: See
TracBrowser
for help on using the repository browser.