source: git/Tst/Manual/read.tst @ 6fb723

spielwiese
Last change on this file since 6fb723 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: 311 bytes
Line 
1LIB "tst.lib"; tst_init();
2  ring r=32003,(x,y,z),dp;
3  ideal i=x+y,z3+22y;
4  // write the ideal i to the file save_i
5  write(":w save_i",i);
6  ring r0=0,(x,y,z),Dp;
7  // create an ideal k equal to the content
8  // of the file save_i
9  string s="ideal k="+read("save_i")+";";
10  execute(s);
11  k;
12tst_status(1);$
Note: See TracBrowser for help on using the repository browser.