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:
320 bytes
|
Line | |
---|
1 | LIB "tst.lib"; tst_init(); |
---|
2 | ring r=0,(x,y),dp; |
---|
3 | def R=nc_algebra(1,1); // make it a Weyl algebra |
---|
4 | setring R; |
---|
5 | R; |
---|
6 | yx; // not correct input |
---|
7 | y*x; // correct input |
---|
8 | poly f = 10x2*y3 + 2y2*x^2 - 2*x*y + y - x + 2; |
---|
9 | lead(f); |
---|
10 | leadmonom(f); |
---|
11 | simplify(f,1); // normalize leading coefficient |
---|
12 | cleardenom(f); |
---|
13 | tst_status(1);$ |
---|
Note: See
TracBrowser
for help on using the repository browser.