source: git/Tst/Manual/restrictionModule.tst @ 0d6b7fc

spielwiese Release-4-3-2p2
Last change on this file since 0d6b7fc 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: 337 bytes
Line 
1LIB "tst.lib"; tst_init();
2LIB "dmodapp.lib";
3ring r = 0,(a,x,b,Da,Dx,Db),dp;
4def D3 = Weyl();
5setring D3;
6ideal I = a*Db-Dx+2*Da, x*Db-Da, x*Da+a*Da+b*Db+1,
7x*Dx-2*x*Da-a*Da, b*Db^2+Dx*Da-Da^2+Db,
8a*Dx*Da+2*x*Da^2+a*Da^2+b*Dx*Db+Dx+2*Da;
9intvec w = 1,0,0;
10def rm = restrictionModule(I,w);
11setring rm; rm;
12print(resMod);
13tst_status(1);$
Note: See TracBrowser for help on using the repository browser.