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:
209 bytes
|
Line | |
---|
1 | LIB "tst.lib"; tst_init(); |
---|
2 | newstruct("nt","int a,poly b,string c"); |
---|
3 | nt A; |
---|
4 | 3+A.a; |
---|
5 | A.c="example string"; |
---|
6 | ring r; |
---|
7 | A.b=poly(1); // assignment: expression must be of the given type |
---|
8 | A; |
---|
9 | tst_status(1);$ |
---|
Note: See
TracBrowser
for help on using the repository browser.