source: git/Tst/Manual/string.tst @ 159ca3

fieker-DuValspielwiese
Last change on this file since 159ca3 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: 378 bytes
Line 
1LIB "tst.lib"; tst_init();
2  string s="Hi";
3  string s1="a string with new line at the end"+newline;
4  string s2="another string with new line at the end
5  ";
6  s;s1;s2;
7  ring r; ideal i=std(ideal(x,y^3));
8  "dimension of i =",dim(i),", multiplicity of i =",mult(i);
9  "dimension of i = "+string(dim(i))+", multiplicity of i = "+string(mult(i));
10  "a"+"b","c";
11tst_status(1);$
Note: See TracBrowser for help on using the repository browser.