source: git/dyn_modules/syzextra/syzextra.tst @ 1114d2

spielwiese
Last change on this file since 1114d2 was 1114d2, checked in by Oleksandr Motsak <motsak@…>, 12 years ago
Dynamic modules: bigintm & syzextra will be built and can be tested with "make check" add: makefile for bigintm & syzextra chg: main configure/Makefile should know about these dynamic modules... add: testing by running built Singular via shell scripts
  • Property mode set to 100644
File size: 518 bytes
Line 
1"ndebug?: ", system("with", "ndebug");
2"om_ndebug?: ", system("with", "om_ndebug");
3
4if( system("with", "ndebug") )
5{
6  "Loading the Release version!";
7  LIB("syzextra.so");
8}
9else
10{
11  "Loading the Debug version!";
12  LIB("syzextra_g.so");
13}
14
15noop();
16
17ring r;
18
19DetailedPrint(r);
20
21poly p = x +y +z;
22
23DetailedPrint(p, 2);
24
25ideal I = maxideal(1);
26
27DetailedPrint(I, 2);
28
29vector v =3 *xyz * [0, 0, 1, x, y, z];
30v;
31DetailedPrint(v, 2);
32
33leadmonom(v);leadcomp(v);
34leadrawexp(v);
35
36
37
38
39def l = res(I, 0); DetailedPrint(l);
40
41$$$
42
Note: See TracBrowser for help on using the repository browser.