source: git/Tst/Manual/poly_expressions.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: 263 bytes
Line 
1LIB "tst.lib"; tst_init();
2  ring r=0,(x,y),dp;
3  poly f = 10x2y3 +2x2y2-2xy+y -x+2;
4  lead(f);
5  leadmonom(f);
6  simplify(f,1);     // normalize leading coefficient
7  poly g = 1/2x2 + 1/3y;
8  cleardenom(g);
9  int i = 102;
10  poly(i);
11  typeof(_);
12tst_status(1);$
Note: See TracBrowser for help on using the repository browser.