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