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:
577 bytes
|
Line | |
---|
1 | LIB "tst.lib"; tst_init(); |
---|
2 | LIB "algebra.lib"; |
---|
3 | int p = printlevel; printlevel = 1; |
---|
4 | ring R = 0,(x,y,z),dp; |
---|
5 | ideal i = x, y, x2-y3; |
---|
6 | map phi = R,i; // a map from R to itself, z->x2-y3 |
---|
7 | is_bijective(phi,R); |
---|
8 | qring Q = std(z-x2+y3); |
---|
9 | is_bijective(ideal(x,y,x2-y3),Q); |
---|
10 | ring S = 0,(a,b,c,d),dp; |
---|
11 | map psi = R,ideal(a,a+b,c-a2+b3,0); // a map from R to S, |
---|
12 | is_bijective(psi,R); // x->a, y->a+b, z->c-a2+b3 |
---|
13 | qring T = std(d,c-a2+b3); |
---|
14 | map chi = Q,a,b,a2-b3; // amap between two quotient rings |
---|
15 | is_bijective(chi,Q); |
---|
16 | printlevel = p; |
---|
17 | tst_status(1);$ |
---|
Note: See
TracBrowser
for help on using the repository browser.