source: git/Tst/Manual/list_declarations.tst @ 2857df

fieker-DuValspielwiese
Last change on this file since 2857df 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: 204 bytes
Line 
1LIB "tst.lib"; tst_init();
2  list l=1,"str";
3  l[1];
4  l[2];
5  ring r;
6  listvar(r);
7  ideal i = x^2, y^2 + z^3;
8  l[3] = i;
9  l;
10  listvar(r);     // the list l belongs now to the ring r
11tst_status(1);$
Note: See TracBrowser for help on using the repository browser.