source: git/Tst/Manual/toric_ideal.tst @ 951db29

spielwiese
Last change on this file since 951db29 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: 278 bytes
Line 
1LIB "tst.lib"; tst_init();
2LIB "toric.lib";
3ring r=0,(x,y,z),dp;
4// call with two arguments
5intmat A[2][3]=1,1,0,0,1,1;
6A;
7ideal I=toric_ideal(A,"du");
8I;
9I=toric_ideal(A,"blr");
10I;
11// call with three arguments
12intvec prsv=1,2,1;
13I=toric_ideal(A,"blr",prsv);
14I;
15tst_status(1);$
Note: See TracBrowser for help on using the repository browser.