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