spielwiese
Last change
on this file since 42ea848 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:
456 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); // quadratic field extension, |
---|
7 | // minpoly = a^2 - 2 |
---|
8 | testPointConic(p, S); |
---|
9 | setring R; |
---|
10 | p = x^2 - 1857669520 * y^2 + 86709575222179747132487270400 * z^2; |
---|
11 | S = rationalPointConic(p); // same as current basering, |
---|
12 | // no extension needed |
---|
13 | testPointConic(p, S); |
---|
14 | tst_status(1);$ |
---|
Note: See
TracBrowser
for help on using the repository browser.