source: git/dyn_modules/bigintm/bigintm.tst @ 5cdbfe

spielwiese
Last change on this file since 5cdbfe was 5cdbfe, checked in by Oleksandr Motsak <motsak@…>, 13 years ago
ADD: dynamic module stuff... From: Oleksandr Motsak <motsak@mathematik.uni-kl.de> git-svn-id: file:///usr/local/Singular/svn/trunk@13980 2c84dea3-7e68-4137-9b89-c4e89433aadc
  • Property mode set to 100644
File size: 865 bytes
Line 
1echo = 2;
2
3LIB("./bigintm.so");
4
5bigintm_print_load_counter();
6printBlackboxTypes();
7
8
9LIB("./bigintm.so");
10
11bigintm_print_load_counter();
12printBlackboxTypes();
13
14LIB("./bigintm.so");
15
16bigintm_print_load_counter();
17printBlackboxTypes();
18
19
20printBlackboxTypes();
21
22bigintm_setup();
23
24printBlackboxTypes();
25
26bigintm_setup();
27
28printBlackboxTypes();
29
30
31bigintm a = 666;
32bigintm b = -666;
33
34
35typeof(a); // TODO!
36a;
37
38
39typeof(b); // TODO!
40b;
41
42a + b;
43
44typeof(_);
45
46a - b;
47
48
49
50a * b;
51
52typeof(_);
53
54a();
55
56typeof(_);
57
58
59a(b);
60
61typeof(_);
62
63
64def s = "sssss";
65typeof(s);
66
67a(s);
68
69
70a("bbbbbb");
71
72
73
74def i = 6;
75typeof(i);
76
77a(i);
78
79
80a(6);
81
82
83b(2);
84
85
86bigintm c = 666;
87
88
89a==a; // BUG?
90a==b; // BUG?
91a==c; // BUG?
92
93c == 666;
94
95c == -666;
96
97
98
99
100
101
102
103
104c.s;
105c.sss;
106c."a";
107
108
109
110option(yacc);
111c - s;
112c == s; // BUG?
113option(noyacc);
114
115
116
117c.0; // BUG?
118option(yacc);
119c.1; // BUG?
120c. ; // BUG?
121option(noyacc);
122
123
124$$$
125
Note: See TracBrowser for help on using the repository browser.