source: git/Tst/Short/ssi_Z.tst @ fdda546

spielwiese
Last change on this file since fdda546 was 14a7ef, checked in by Hans Schoenemann <hannes@…>, 4 years ago
flintQ: rational functions
  • Property mode set to 100644
File size: 485 bytes
Line 
1LIB "tst.lib";
2tst_init();
3
4link l1="ssi:w ss1.ssi";
5ring r1=ZZ,x,dp;
6poly p=x+11;
7write(l1,p);
8ring r2=ZZ/22,x,dp;
9poly p=x+11;
10write(l1,p);
11close(l1);
12link l2="ssi:r ss1.ssi";
13def h1=read(l2);
14h1;
15basering;
16def h2=read(l2);
17h2;
18basering;
19listvar();
20close(l2);
21
22ring r3=flintQp("bb"),x,dp;
23poly p=x+11+bb;
24p;
25write(l1,p);
26ring r4=flintZn(29,"a"),x,dp;
27poly p=x+11+a;
28p;
29write(l1,p);
30close(l1);
31def h3=read(l2);
32h3;
33basering;
34def h4=read(l2);
35h4;
36basering;
37close(l2);
38
39tst_status(1);$
Note: See TracBrowser for help on using the repository browser.