source: git/Tst/Manual/testPointConic.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: 303 bytes
Line 
1LIB "tst.lib"; tst_init();
2LIB "paraplanecurves.lib";
3ring R = 0, (x,y,z), dp;
4system("random", 4711);
5poly p = x^2 + 2*y^2 + 5*z^2 - 4*x*y + 3*x*z + 17*y*z;
6def S = rationalPointConic(p);
7if (testPointConic(p, S) == 1)
8{ "point lies on conic"; }
9else
10{ "point does not lie on conic"; }
11tst_status(1);$
Note: See TracBrowser for help on using the repository browser.