source: git/Tst/Manual/testNCfac.tst @ cbf01b

fieker-DuValspielwiese
Last change on this file since cbf01b 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: 491 bytes
Line 
1LIB "tst.lib"; tst_init();
2LIB "ncfactor.lib";
3ring r = 0,(x,y),dp;
4def R = nc_algebra(1,1);
5setring R;
6poly h = (x^2*y^2+1)*(x^2);
7def t1 = facFirstWeyl(h);
8//fist a correct list
9testNCfac(t1);
10//now a correct list with the factorized polynomial
11testNCfac(t1,h);
12//now we put in an incorrect list without a polynomial
13t1[3][3] = y;
14testNCfac(t1);
15// take h as additional input
16testNCfac(t1,h);
17// take h as additional input and output list of differences
18testNCfac(t1,h,1);
19tst_status(1);$
Note: See TracBrowser for help on using the repository browser.