fieker-DuValspielwiese
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:
406 bytes
|
Line | |
---|
1 | LIB "tst.lib"; tst_init(); |
---|
2 | ring r=0,(x,y,z),dp; |
---|
3 | module m=[1,y],[0,x+z]; |
---|
4 | m; |
---|
5 | print(m); // the columns generate m |
---|
6 | string s=print(m,"%s"); s; |
---|
7 | s=print(m,"%2s"); s; |
---|
8 | s=print(m,"%l"); s; |
---|
9 | s=print(m,"%;"); s; |
---|
10 | s=print(m,"%t"); s; |
---|
11 | s=print(m,"%p"); s; |
---|
12 | intmat M=betti(mres(m,0)); |
---|
13 | print(M,"betti"); |
---|
14 | list l=r,M; |
---|
15 | s=print(l,"%s"); s; |
---|
16 | s=print(l,"%2s"); s; |
---|
17 | s=print(l,"%l"); s; |
---|
18 | tst_status(1);$ |
---|
Note: See
TracBrowser
for help on using the repository browser.