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