summaryrefslogtreecommitdiffstats
path: root/scilab
diff options
context:
space:
mode:
authorSamuel GOUGEON <sgougeon@free.fr>2021-01-08 23:28:02 +0100
committerClément David <clement.david@esi-group.com>2021-03-16 14:35:37 +0100
commitc55427777028825aae0e05210c01fd859daf1e21 (patch)
tree85713d726b965e55eebf346cd45aec78968f43c6 /scilab
parentd48c16f2bcde5931ad5b07afad35423e084b103b (diff)
downloadscilab-c55427777028825aae0e05210c01fd859daf1e21.zip
scilab-c55427777028825aae0e05210c01fd859daf1e21.tar.gz
== and <> with void implemented
After http://bugzilla.scilab.org/15292 has been fixed. Change-Id: I842d9924a48c61a29d0399279b62c45b4fb9ce03
Diffstat (limited to 'scilab')
-rw-r--r--scilab/modules/ast/tests/unit_tests/comparisonequal.dia.ref1058
-rw-r--r--scilab/modules/ast/tests/unit_tests/comparisonequal.tst30
-rw-r--r--scilab/modules/ast/tests/unit_tests/comparisonequal_with_graphic.dia.ref13
-rw-r--r--scilab/modules/ast/tests/unit_tests/comparisonequal_with_graphic.tst11
-rw-r--r--scilab/modules/ast/tests/unit_tests/comparisonnonequal.dia.ref1058
-rw-r--r--scilab/modules/ast/tests/unit_tests/comparisonnonequal.tst29
-rw-r--r--scilab/modules/ast/tests/unit_tests/comparisonnonequal_with_graphic.dia.ref13
-rw-r--r--scilab/modules/ast/tests/unit_tests/comparisonnonequal_with_graphic.tst11
-rw-r--r--scilab/modules/overloading/macros/%0_n_0.sci13
-rw-r--r--scilab/modules/overloading/macros/%0_n_H5Object.sci13
-rw-r--r--scilab/modules/overloading/macros/%0_n_XMLDoc.sci13
-rw-r--r--scilab/modules/overloading/macros/%0_n_b.sci13
-rw-r--r--scilab/modules/overloading/macros/%0_n_c.sci13
-rw-r--r--scilab/modules/overloading/macros/%0_n_ce.sci13
-rw-r--r--scilab/modules/overloading/macros/%0_n_dir.sci13
-rw-r--r--scilab/modules/overloading/macros/%0_n_f.sci13
-rw-r--r--scilab/modules/overloading/macros/%0_n_fptr.sci13
-rw-r--r--scilab/modules/overloading/macros/%0_n_function.sci13
-rw-r--r--scilab/modules/overloading/macros/%0_n_h.sci13
-rw-r--r--scilab/modules/overloading/macros/%0_n_i.sci13
-rw-r--r--scilab/modules/overloading/macros/%0_n_ip.sci13
-rw-r--r--scilab/modules/overloading/macros/%0_n_l.sci13
-rw-r--r--scilab/modules/overloading/macros/%0_n_lss.sci13
-rw-r--r--scilab/modules/overloading/macros/%0_n_p.sci13
-rw-r--r--scilab/modules/overloading/macros/%0_n_program.sci13
-rw-r--r--scilab/modules/overloading/macros/%0_n_ptr.sci13
-rw-r--r--scilab/modules/overloading/macros/%0_n_r.sci13
-rw-r--r--scilab/modules/overloading/macros/%0_n_s.sci13
-rw-r--r--scilab/modules/overloading/macros/%0_n_sp.sci13
-rw-r--r--scilab/modules/overloading/macros/%0_n_spb.sci13
-rw-r--r--scilab/modules/overloading/macros/%0_n_st.sci13
-rw-r--r--scilab/modules/overloading/macros/%0_n_uitree.sci13
-rw-r--r--scilab/modules/overloading/macros/%0_o_0.sci14
-rw-r--r--scilab/modules/overloading/macros/%0_o_H5Object.sci13
-rw-r--r--scilab/modules/overloading/macros/%0_o_XMLDoc.sci13
-rw-r--r--scilab/modules/overloading/macros/%0_o_b.sci13
-rw-r--r--scilab/modules/overloading/macros/%0_o_c.sci13
-rw-r--r--scilab/modules/overloading/macros/%0_o_ce.sci13
-rw-r--r--scilab/modules/overloading/macros/%0_o_dir.sci13
-rw-r--r--scilab/modules/overloading/macros/%0_o_f.sci13
-rw-r--r--scilab/modules/overloading/macros/%0_o_fptr.sci13
-rw-r--r--scilab/modules/overloading/macros/%0_o_function.sci13
-rw-r--r--scilab/modules/overloading/macros/%0_o_h.sci13
-rw-r--r--scilab/modules/overloading/macros/%0_o_i.sci13
-rw-r--r--scilab/modules/overloading/macros/%0_o_ip.sci13
-rw-r--r--scilab/modules/overloading/macros/%0_o_l.sci13
-rw-r--r--scilab/modules/overloading/macros/%0_o_lss.sci13
-rw-r--r--scilab/modules/overloading/macros/%0_o_p.sci13
-rw-r--r--scilab/modules/overloading/macros/%0_o_program.sci13
-rw-r--r--scilab/modules/overloading/macros/%0_o_ptr.sci13
-rw-r--r--scilab/modules/overloading/macros/%0_o_r.sci13
-rw-r--r--scilab/modules/overloading/macros/%0_o_s.sci13
-rw-r--r--scilab/modules/overloading/macros/%0_o_sp.sci13
-rw-r--r--scilab/modules/overloading/macros/%0_o_spb.sci13
-rw-r--r--scilab/modules/overloading/macros/%0_o_st.sci13
-rw-r--r--scilab/modules/overloading/macros/%0_o_uitree.sci13
-rw-r--r--scilab/modules/overloading/macros/%H5Object_n_0.sci13
-rw-r--r--scilab/modules/overloading/macros/%H5Object_o_0.sci13
-rw-r--r--scilab/modules/overloading/macros/%XMLDoc_n_0.sci13
-rw-r--r--scilab/modules/overloading/macros/%XMLDoc_o_0.sci13
-rw-r--r--scilab/modules/overloading/macros/%b_n_0.sci13
-rw-r--r--scilab/modules/overloading/macros/%b_o_0.sci13
-rw-r--r--scilab/modules/overloading/macros/%c_n_0.sci13
-rw-r--r--scilab/modules/overloading/macros/%c_o_0.sci13
-rw-r--r--scilab/modules/overloading/macros/%ce_n_0.sci13
-rw-r--r--scilab/modules/overloading/macros/%ce_o_0.sci13
-rw-r--r--scilab/modules/overloading/macros/%dir_n_0.sci13
-rw-r--r--scilab/modules/overloading/macros/%dir_o_0.sci13
-rw-r--r--scilab/modules/overloading/macros/%f_n_0.sci13
-rw-r--r--scilab/modules/overloading/macros/%f_o_0.sci13
-rw-r--r--scilab/modules/overloading/macros/%fptr_n_0.sci13
-rw-r--r--scilab/modules/overloading/macros/%fptr_o_0.sci13
-rw-r--r--scilab/modules/overloading/macros/%function_n_0.sci13
-rw-r--r--scilab/modules/overloading/macros/%function_o_0.sci13
-rw-r--r--scilab/modules/overloading/macros/%h_n_0.sci13
-rw-r--r--scilab/modules/overloading/macros/%h_o_0.sci13
-rw-r--r--scilab/modules/overloading/macros/%i_n_0.sci13
-rw-r--r--scilab/modules/overloading/macros/%i_o_0.sci13
-rw-r--r--scilab/modules/overloading/macros/%ip_n_0.sci13
-rw-r--r--scilab/modules/overloading/macros/%ip_o_0.sci13
-rw-r--r--scilab/modules/overloading/macros/%l_n_0.sci13
-rw-r--r--scilab/modules/overloading/macros/%l_o_0.sci13
-rw-r--r--scilab/modules/overloading/macros/%lss_n_0.sci13
-rw-r--r--scilab/modules/overloading/macros/%lss_o_0.sci13
-rw-r--r--scilab/modules/overloading/macros/%p_n_0.sci13
-rw-r--r--scilab/modules/overloading/macros/%p_o_0.sci13
-rw-r--r--scilab/modules/overloading/macros/%program_n_0.sci13
-rw-r--r--scilab/modules/overloading/macros/%program_o_0.sci13
-rw-r--r--scilab/modules/overloading/macros/%ptr_n_0.sci13
-rw-r--r--scilab/modules/overloading/macros/%ptr_o_0.sci13
-rw-r--r--scilab/modules/overloading/macros/%r_n_0.sci13
-rw-r--r--scilab/modules/overloading/macros/%r_o_0.sci13
-rw-r--r--scilab/modules/overloading/macros/%s_n_0.sci13
-rw-r--r--scilab/modules/overloading/macros/%s_o_0.sci13
-rw-r--r--scilab/modules/overloading/macros/%sp_n_0.sci13
-rw-r--r--scilab/modules/overloading/macros/%sp_o_0.sci13
-rw-r--r--scilab/modules/overloading/macros/%spb_n_0.sci13
-rw-r--r--scilab/modules/overloading/macros/%spb_o_0.sci13
-rw-r--r--scilab/modules/overloading/macros/%st_n_0.sci13
-rw-r--r--scilab/modules/overloading/macros/%st_o_0.sci13
-rw-r--r--scilab/modules/overloading/macros/%uitree_n_0.sci13
-rw-r--r--scilab/modules/overloading/macros/%uitree_o_0.sci13
102 files changed, 1303 insertions, 2143 deletions
diff --git a/scilab/modules/ast/tests/unit_tests/comparisonequal.dia.ref b/scilab/modules/ast/tests/unit_tests/comparisonequal.dia.ref
deleted file mode 100644
index 5dd45c7..0000000
--- a/scilab/modules/ast/tests/unit_tests/comparisonequal.dia.ref
+++ /dev/null
@@ -1,1058 +0,0 @@
1// ============================================================================
2// Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
3// Copyright (C) 2014 - Scilab Enterprises - Sylvain GENIN
4//
5// This file is distributed under the same license as the Scilab package.
6// ============================================================================
7// <-- CLI SHELL MODE -->
8s = %s;
9empty = [];
10r = 2;
11R = [1,2;3,4];
12R3(:,:,1) = R;
13R3(:,:,2) = R';
14c = 1 + 2*%i;
15C = [1+2*%i,2+4*%i;3+6*%i,4+8*%i];
16C3(:,:,1) = C;
17C3(:,:,2) = C';
18e = eye();
19ec = (5+%i) * eye();
20p = 1 + %s - %s**2;
21pc = 1 + %s - %s**2 + ( 2 - 3 * %s + 4 * %s**2 ) * %i;
22P = [2*p, 2;4*p,-5*p];
23PC = [2*pc, 2;4*pc,-5*pc];
24SP = sparse([1,2;4,5;3,10],[1,2,3]);
25SPC = sparse([1,2;4,5;3,10],[1,2,3]) * ( 1 + 4*%i);
26SPB = sparse([1,2;2,1],[%t;%t],[2,2]);
27SP1 = sparse([1,1],[10]);
28SPC1 = sparse([1,1],[1]) * ( 2 + 6*%i);
29i8 = int8(-8);
30ui8 = uint8(8);
31I8 = int8([-8 2 ; -24 -32]);
32UI8 = uint8([8 2 ; 24 32]);
33I16 = int16([-16 2 ; -48 -64]);
34UI16 = uint16([16 2 ; 48 64]);
35i16 = int16(-16);
36ui16 = uint16(16);
37i32 = int32(-32);
38ui32 = uint32(32);
39I32 = int32([-32 2 ; -96 -128]);
40UI32 = uint32([32 2 ; 96 128]);
41str = "string";
42STR = ["string1" "string2";"string3" "string4"];
43b = %f;
44B = [%t %f;%f %t];
45assert_checkequal(empty == empty, %t);
46assert_checkequal(empty == r, %f);
47assert_checkequal(empty == c, %f);
48assert_checkequal(empty == R, %f);
49assert_checkequal(empty == C, %f);
50assert_checkequal(empty == e, %f);
51assert_checkequal(empty == ec, %f);
52assert_checkequal(empty == p, %f);
53assert_checkequal(empty == pc, %f);
54assert_checkequal(empty == P, %f);
55assert_checkequal(empty == PC, %f);
56assert_checkequal(empty == SP, %f);
57assert_checkequal(empty == SPC, %f);
58assert_checkequal(empty == SP1, %f);
59assert_checkequal(empty == SPC1, %f);
60assert_checkequal(empty == i8, %f);
61assert_checkequal(empty == I8, %f);
62assert_checkequal(empty == ui8, %f);
63assert_checkequal(empty == UI8, %f);
64assert_checkequal(empty == i16, %f);
65assert_checkequal(empty == I16, %f);
66assert_checkequal(empty == ui16, %f);
67assert_checkequal(empty == UI16, %f);
68assert_checkequal(empty == i32, %f);
69assert_checkequal(empty == I32, %f);
70assert_checkequal(empty == ui32, %f);
71assert_checkequal(empty == UI32, %f);
72assert_checkequal(empty == str, %f);
73assert_checkequal(empty == STR, %f);
74assert_checkequal(empty == b, %f);
75assert_checkequal(empty == B, %f);
76assert_checkequal(empty == SPB, %f);
77assert_checkequal(r == empty, %f);
78assert_checkequal(r == r, %t);
79assert_checkequal(r == c, %f);
80assert_checkequal(r == R, [%f,%t;%f,%f]);
81assert_checkequal(r == C, [%f,%f;%f,%f]);
82assert_checkequal(r == e, %f);
83assert_checkequal(r == ec, %f);
84assert_checkequal(r == p, %f);
85assert_checkequal(r == pc, %f);
86assert_checkequal(r == P, [%f,%t;%f,%f]);
87assert_checkequal(r == PC, [%f,%t;%f,%f]);
88assert_checkequal(r == SP, sparse([4,5],%t,[4,10]));
89assert_checkequal(r == SPC, sparse([1,1],[%f],[4,10]));
90assert_checkequal(r == SP1, sparse([1,1],[%f],[1,1]));
91assert_checkequal(r == SPC1, sparse([1,1],[%f],[1,1]));
92assert_checkequal(r == i8, %f);
93assert_checkequal(r == I8, [%f,%t;%f,%f]);
94assert_checkequal(r == ui8, %f);
95assert_checkequal(r == UI8, [%f,%t;%f,%f]);
96assert_checkequal(r == i16, %f);
97assert_checkequal(r == I16, [%f,%t;%f,%f]);
98assert_checkequal(r == ui16, %f);
99assert_checkequal(r == UI16, [%f,%t;%f,%f]);
100assert_checkequal(r == i32, %f);
101assert_checkequal(r == I32, [%f,%t;%f,%f]);
102assert_checkequal(r == ui32, %f);
103assert_checkequal(r == UI32, [%f,%t;%f,%f]);
104assert_checkequal(r == str, %f);
105assert_checkequal(r == STR, %f);
106assert_checkequal(r == b, %f);
107assert_checkequal(r == B, %f);
108assert_checkequal(r == SPB, %f);
109assert_checkequal(c == empty, %f);
110assert_checkequal(c == r, %f);
111assert_checkequal(c == c, %t);
112assert_checkequal(c == R, [%f,%f;%f,%f]);
113assert_checkequal(c == C, [%t,%f;%f,%f]);
114assert_checkequal(c == e, %f);
115assert_checkequal(c == ec, %f);
116assert_checkequal(c == p, %f);
117assert_checkequal(c == pc, %f);
118assert_checkequal(c == P, [%f,%f;%f,%f]);
119assert_checkequal(c == PC, [%f,%f;%f,%f]);
120assert_checkequal(c == SP, sparse([1,1],[%f],[4,10]));
121assert_checkequal(c == SPC, sparse([1,1],[%f],[4,10]));
122assert_checkequal(c == SP1, sparse([1,1],[%f],[1,1]));
123assert_checkequal(c == SPC1, sparse([1,1],[%f],[1,1]));
124assert_checkequal(c == i8, %f);
125assert_checkequal(c == I8, [%f,%f;%f,%f]);
126assert_checkequal(c == ui8, %f);
127assert_checkequal(c == UI8, [%f,%f;%f,%f]);
128assert_checkequal(c == i16, %f);
129assert_checkequal(c == I16, [%f,%f;%f,%f]);
130assert_checkequal(c == ui16, %f);
131assert_checkequal(c == UI16, [%f,%f;%f,%f]);
132assert_checkequal(c == i32, %f);
133assert_checkequal(c == I32, [%f,%f;%f,%f]);
134assert_checkequal(c == ui32, %f);
135assert_checkequal(c == UI32, [%f,%f;%f,%f]);
136assert_checkequal(c == str, %f);
137assert_checkequal(c == STR, %f);
138assert_checkequal(c == b, %f);
139assert_checkequal(c == B, %f);
140assert_checkequal(c == SPB, %f);
141assert_checkequal(R == empty, %f);
142assert_checkequal(R == r, [%f,%t;%f,%f]);
143assert_checkequal(R == c, [%f,%f;%f,%f]);
144assert_checkequal(R == R, [%t,%t;%t,%t]);
145assert_checkequal(R == C, [%f,%f;%f,%f]);
146assert_checkequal(R == e, [%t,%f;%f,%f]);
147assert_checkequal(R == ec, [%f,%f;%f,%f]);
148assert_checkequal(R == p, [%f,%f;%f,%f]);
149assert_checkequal(R == pc, [%f,%f;%f,%f]);
150assert_checkequal(R == P, [%f,%t;%f,%f]);
151assert_checkequal(R == PC, [%f,%t;%f,%f]);
152assert_checkequal(R == SP, %f);
153assert_checkequal(R == SPC, %f);
154assert_checkequal(R == SP1, %f);
155assert_checkequal(R == SPC1, %f);
156assert_checkequal(R == i8, [%f,%f;%f,%f]);
157assert_checkequal(R == I8, [%f,%t;%f,%f]);
158assert_checkequal(R == ui8, [%f,%f;%f,%f]);
159assert_checkequal(R == UI8, [%f,%t;%f,%f]);
160assert_checkequal(R == i16, [%f,%f;%f,%f]);
161assert_checkequal(R == I16, [%f,%t;%f,%f]);
162assert_checkequal(R == ui16, [%f,%f;%f,%f]);
163assert_checkequal(R == UI16, [%f,%t;%f,%f]);
164assert_checkequal(R == i32, [%f,%f;%f,%f]);
165assert_checkequal(R == I32, [%f,%t;%f,%f]);
166assert_checkequal(R == ui32, [%f,%f;%f,%f]);
167assert_checkequal(R == UI32, [%f,%t;%f,%f]);
168assert_checkequal(R == str, %f);
169assert_checkequal(R == STR, %f);
170assert_checkequal(R == b, %f);
171assert_checkequal(R == B, %f);
172assert_checkequal(R == SPB, %f);
173assert_checkequal(C == empty, %f);
174assert_checkequal(C == r, [%f,%f;%f,%f]);
175assert_checkequal(C == c, [%t,%f;%f,%f]);
176assert_checkequal(C == R, [%f,%f;%f,%f]);
177assert_checkequal(C == C, [%t,%t;%t,%t]);
178assert_checkequal(C == e, [%f,%f;%f,%f]);
179assert_checkequal(C == ec, [%f,%f;%f,%f]);
180assert_checkequal(C == p, [%f,%f;%f,%f]);
181assert_checkequal(C == pc, [%f,%f;%f,%f]);
182assert_checkequal(C == P, [%f,%f;%f,%f]);
183assert_checkequal(C == PC, [%f,%f;%f,%f]);
184assert_checkequal(C == SP, %f);
185assert_checkequal(C == SPC, %f);
186assert_checkequal(C == SP1, %f);
187assert_checkequal(C == SPC1, %f);
188assert_checkequal(C == i8, [%f,%f;%f,%f]);
189assert_checkequal(C == I8, [%f,%f;%f,%f]);
190assert_checkequal(C == ui8, [%f,%f;%f,%f]);
191assert_checkequal(C == UI8, [%f,%f;%f,%f]);
192assert_checkequal(C == i16, [%f,%f;%f,%f]);
193assert_checkequal(C == I16, [%f,%f;%f,%f]);
194assert_checkequal(C == ui16, [%f,%f;%f,%f]);
195assert_checkequal(C == UI16, [%f,%f;%f,%f]);
196assert_checkequal(C == i32, [%f,%f;%f,%f]);
197assert_checkequal(C == I32, [%f,%f;%f,%f]);
198assert_checkequal(C == ui32, [%f,%f;%f,%f]);
199assert_checkequal(C == UI32, [%f,%f;%f,%f]);
200assert_checkequal(C == str, %f);
201assert_checkequal(C == STR, %f);
202assert_checkequal(C == b, %f);
203assert_checkequal(C == B, %f);
204assert_checkequal(C == SPB, %f);
205assert_checkequal(e == empty, %f);
206assert_checkequal(e == r, %f);
207assert_checkequal(e == c, %f);
208assert_checkequal(e == R, [%t,%f;%f,%f]);
209assert_checkequal(e == C, [%f,%f;%f,%f]);
210assert_checkequal(e == e, %t);
211assert_checkequal(e == ec, %f);
212assert_checkequal(e == p, %f);
213assert_checkequal(e == pc, %f);
214assert_checkequal(e == P, [%f,%f;%f,%f]);
215assert_checkequal(e == PC, [%f,%f;%f,%f]);
216assert_checkequal(e == SP, %f);
217assert_checkequal(e == SPC, %f);
218assert_checkequal(e == SP1, %f);
219assert_checkequal(e == SPC1, %f);
220assert_checkequal(e == i8, %f);
221assert_checkequal(e == I8, [%f,%f;%f,%f]);
222assert_checkequal(e == ui8, %f);
223assert_checkequal(e == UI8, [%f,%f;%f,%f]);
224assert_checkequal(e == i16, %f);
225assert_checkequal(e == I16, [%f,%f;%f,%f]);
226assert_checkequal(e == ui16, %f);
227assert_checkequal(e == UI16, [%f,%f;%f,%f]);
228assert_checkequal(e == i32, %f);
229assert_checkequal(e == I32, [%f,%f;%f,%f]);
230assert_checkequal(e == ui32, %f);
231assert_checkequal(e == UI32, [%f,%f;%f,%f]);
232assert_checkequal(e == str, %f);
233assert_checkequal(e == STR, %f);
234assert_checkequal(e == b, %f);
235assert_checkequal(e == B, %f);
236assert_checkequal(e == SPB, %f);
237assert_checkequal(ec == empty, %f);
238assert_checkequal(ec == r, %f);
239assert_checkequal(ec == c, %f);
240assert_checkequal(ec == R, [%f,%f;%f,%f]);
241assert_checkequal(ec == C, [%f,%f;%f,%f]);
242assert_checkequal(ec == e, %f);
243assert_checkequal(ec == ec, %t);
244assert_checkequal(ec == p, %f);
245assert_checkequal(ec == pc, %f);
246assert_checkequal(ec == P, [%f,%f;%f,%f]);
247assert_checkequal(ec == PC, [%f,%f;%f,%f]);
248assert_checkequal(ec == SP, %f);
249assert_checkequal(ec == SPC, %f);
250assert_checkequal(ec == SP1, %f);
251assert_checkequal(ec == SPC1, %f);
252assert_checkequal(ec == i8, %f);
253assert_checkequal(ec == I8, [%f,%f;%f,%f]);
254assert_checkequal(ec == ui8, %f);
255assert_checkequal(ec == UI8, [%f,%f;%f,%f]);
256assert_checkequal(ec == i16, %f);
257assert_checkequal(ec == I16, [%f,%f;%f,%f]);
258assert_checkequal(ec == ui16, %f);
259assert_checkequal(ec == UI16, [%f,%f;%f,%f]);
260assert_checkequal(ec == i32, %f);
261assert_checkequal(ec == I32, [%f,%f;%f,%f]);
262assert_checkequal(ec == ui32, %f);
263assert_checkequal(ec == UI32, [%f,%f;%f,%f]);
264assert_checkequal(ec == str, %f);
265assert_checkequal(ec == STR, %f);
266assert_checkequal(ec == b, %f);
267assert_checkequal(ec == B, %f);
268assert_checkequal(ec == SPB, %f);
269assert_checkequal(p == empty, %f);
270assert_checkequal(p == r, %f);
271assert_checkequal(p == c, %f);
272assert_checkequal(p == R, [%f,%f;%f,%f]);
273assert_checkequal(p == C, [%f,%f;%f,%f]);
274assert_checkequal(p == e, %f);
275assert_checkequal(p == ec, %f);
276assert_checkequal(p == p, %t);
277assert_checkequal(p == pc, %f);
278assert_checkequal(p == P, [%f,%f;%f,%f]);
279assert_checkequal(p == PC, [%f,%f;%f,%f]);
280assert_checkequal(p == i8, %f);
281assert_checkequal(p == I8, [%f,%f;%f,%f]);
282assert_checkequal(p == ui8, %f);
283assert_checkequal(p == UI8, [%f,%f;%f,%f]);
284assert_checkequal(p == i16, %f);
285assert_checkequal(p == I16, [%f,%f;%f,%f]);
286assert_checkequal(p == ui16, %f);
287assert_checkequal(p == UI16, [%f,%f;%f,%f]);
288assert_checkequal(p == i32, %f);
289assert_checkequal(p == I32, [%f,%f;%f,%f]);
290assert_checkequal(p == ui32, %f);
291assert_checkequal(p == UI32, [%f,%f;%f,%f]);
292assert_checkequal(p == str, %f);
293assert_checkequal(p == STR, %f);
294assert_checkequal(p == b, %f);
295assert_checkequal(p == B, %f);
296assert_checkequal(pc == empty, %f);
297assert_checkequal(pc == r, %f);
298assert_checkequal(pc == c, %f);
299assert_checkequal(pc == R, [%f,%f;%f,%f]);
300assert_checkequal(pc == C, [%f,%f;%f,%f]);
301assert_checkequal(pc == e, %f);
302assert_checkequal(pc == ec, %f);
303assert_checkequal(pc == p, %f);
304assert_checkequal(pc == pc, %t);
305assert_checkequal(pc == P, [%f,%f;%f,%f]);
306assert_checkequal(pc == PC, [%f,%f;%f,%f]);
307assert_checkequal(pc == i8, %f);
308assert_checkequal(pc == I8, [%f,%f;%f,%f]);
309assert_checkequal(pc == ui8, %f);
310assert_checkequal(pc == UI8, [%f,%f;%f,%f]);
311assert_checkequal(pc == i16, %f);
312assert_checkequal(pc == I16, [%f,%f;%f,%f]);
313assert_checkequal(pc == ui16, %f);
314assert_checkequal(pc == UI16, [%f,%f;%f,%f]);
315assert_checkequal(pc == i32, %f);
316assert_checkequal(pc == I32, [%f,%f;%f,%f]);
317assert_checkequal(pc == ui32, %f);
318assert_checkequal(pc == UI32, [%f,%f;%f,%f]);
319assert_checkequal(pc == str, %f);
320assert_checkequal(pc == STR, %f);
321assert_checkequal(pc == b, %f);
322assert_checkequal(pc == B, %f);
323assert_checkequal(P == empty, %f);
324assert_checkequal(P == r, [%f,%t;%f,%f]);
325assert_checkequal(P == c, [%f,%f;%f,%f]);
326assert_checkequal(P == R, [%f,%t;%f,%f]);
327assert_checkequal(P == C, [%f,%f;%f,%f]);
328assert_checkequal(P == e, [%f,%f;%f,%f]);
329assert_checkequal(P == ec, [%f,%f;%f,%f]);
330assert_checkequal(P == p, [%f,%f;%f,%f]);
331assert_checkequal(P == pc, [%f,%f;%f,%f]);
332assert_checkequal(P == P, [%t,%t;%t,%t]);
333assert_checkequal(P == PC, [%f,%t;%f,%f]);
334assert_checkequal(P == i8, [%f,%f;%f,%f]);
335assert_checkequal(P == I8, [%f,%t;%f,%f]);
336assert_checkequal(P == ui8, [%f,%f;%f,%f]);
337assert_checkequal(P == UI8, [%f,%t;%f,%f]);
338assert_checkequal(P == i16, [%f,%f;%f,%f]);
339assert_checkequal(P == I16, [%f,%t;%f,%f]);
340assert_checkequal(P == ui16, [%f,%f;%f,%f]);
341assert_checkequal(P == UI16, [%f,%t;%f,%f]);
342assert_checkequal(P == i32, [%f,%f;%f,%f]);
343assert_checkequal(P == I32, [%f,%t;%f,%f]);
344assert_checkequal(P == ui32, [%f,%f;%f,%f]);
345assert_checkequal(P == UI32, [%f,%t;%f,%f]);
346assert_checkequal(P == str, %f);
347assert_checkequal(P == STR, %f);
348assert_checkequal(P == b, %f);
349assert_checkequal(P == B, %f);
350assert_checkequal(PC == empty, %f);
351assert_checkequal(PC == r, [%f,%t;%f,%f]);
352assert_checkequal(PC == c, [%f,%f;%f,%f]);
353assert_checkequal(PC == R, [%f,%t;%f,%f]);
354assert_checkequal(PC == C, [%f,%f;%f,%f]);
355assert_checkequal(PC == e, [%f,%f;%f,%f]);
356assert_checkequal(PC == ec, [%f,%f;%f,%f]);
357assert_checkequal(PC == p, [%f,%f;%f,%f]);
358assert_checkequal(PC == pc, [%f,%f;%f,%f]);
359assert_checkequal(PC == P, [%f,%t;%f,%f]);
360assert_checkequal(PC == PC, [%t,%t;%t,%t]);
361assert_checkequal(PC == i8, [%f,%f;%f,%f]);
362assert_checkequal(PC == I8, [%f,%t;%f,%f]);
363assert_checkequal(PC == ui8, [%f,%f;%f,%f]);
364assert_checkequal(PC == UI8, [%f,%t;%f,%f]);
365assert_checkequal(PC == i16, [%f,%f;%f,%f]);
366assert_checkequal(PC == I16, [%f,%t;%f,%f]);
367assert_checkequal(PC == ui16, [%f,%f;%f,%f]);
368assert_checkequal(PC == UI16, [%f,%t;%f,%f]);
369assert_checkequal(PC == i32, [%f,%f;%f,%f]);
370assert_checkequal(PC == I32, [%f,%t;%f,%f]);
371assert_checkequal(PC == ui32, [%f,%f;%f,%f]);
372assert_checkequal(PC == UI32, [%f,%t;%f,%f]);
373assert_checkequal(PC == str, %f);
374assert_checkequal(PC == STR, %f);
375assert_checkequal(PC == b, %f);
376assert_checkequal(PC == B, %f);
377assert_checkequal(SP == empty, %f);
378assert_checkequal(SP == r, sparse([4,5],%t,[4,10]));
379assert_checkequal(SP == c, sparse([1,1],[%f],[4,10]));
380assert_checkequal(SP == R, %f);
381assert_checkequal(SP == C, %f);
382assert_checkequal(SP == e, %f);
383assert_checkequal(SP == ec, %f);
384assert_checkequal(SP == SP, sparse([1,1;1,2;1,3;1,4;1,5;1,6;1,7;1,8;1,9;1,10;2,1;2,2;2,3;2,4;2,5;2,6;2,7;2,8;2,9;2,10;3,1;3,2;3,3;3,4;3,5;3,6;3,7;3,8;3,9;3,10;4,1;4,2;4,3;4,4;4,5;4,6;4,7;4,8;4,9;4,10],[%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t],[4,10]));
385assert_checkequal(SP == SPC, sparse([1,1;1,3;1,4;1,5;1,6;1,7;1,8;1,9;1,10;2,1;2,2;2,3;2,4;2,5;2,6;2,7;2,8;2,9;2,10;3,1;3,2;3,3;3,4;3,5;3,6;3,7;3,8;3,9;4,1;4,2;4,3;4,4;4,6;4,7;4,8;4,9;4,10],[%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t],[4,10]));
386assert_checkequal(SP == SP1, sparse([1,1],[%f],[4,10]));
387assert_checkequal(SP == SPC1, sparse([1,1],[%f],[4,10]));
388assert_checkequal(SP == i8, sparse([1,1],[%f],[4,10]));
389assert_checkequal(SP == I8, %f);
390assert_checkequal(SP == ui8, sparse([1,1],[%f],[4,10]));
391assert_checkequal(SP == UI8, %f);
392assert_checkequal(SP == i16, sparse([1,1],[%f],[4,10]));
393assert_checkequal(SP == I16, %f);
394assert_checkequal(SP == ui16, sparse([1,1],[%f],[4,10]));
395assert_checkequal(SP == UI16, %f);
396assert_checkequal(SP == i32, sparse([1,1],[%f],[4,10]));
397assert_checkequal(SP == I32, %f);
398assert_checkequal(SP == ui32, sparse([1,1],[%f],[4,10]));
399assert_checkequal(SP == UI32, %f);
400assert_checkequal(SP == str, %f);
401assert_checkequal(SP == STR, %f);
402assert_checkequal(SP == b, %f);
403assert_checkequal(SP == B, %f);
404assert_checkequal(SP == SPB, %f);
405assert_checkequal(SPC == empty, %f);
406assert_checkequal(SPC == r, sparse([1,1],[%f],[4,10]));
407assert_checkequal(SPC == c, sparse([1,1],[%f],[4,10]));
408assert_checkequal(SPC == R, %f);
409assert_checkequal(SPC == C, %f);
410assert_checkequal(SPC == e, %f);
411assert_checkequal(SPC == ec, %f);
412assert_checkequal(SPC == SP, sparse([1,1;1,3;1,4;1,5;1,6;1,7;1,8;1,9;1,10;2,1;2,2;2,3;2,4;2,5;2,6;2,7;2,8;2,9;2,10;3,1;3,2;3,3;3,4;3,5;3,6;3,7;3,8;3,9;4,1;4,2;4,3;4,4;4,6;4,7;4,8;4,9;4,10],[%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t],[4,10]));
413assert_checkequal(SPC == SPC, sparse([1,1;1,2;1,3;1,4;1,5;1,6;1,7;1,8;1,9;1,10;2,1;2,2;2,3;2,4;2,5;2,6;2,7;2,8;2,9;2,10;3,1;3,2;3,3;3,4;3,5;3,6;3,7;3,8;3,9;3,10;4,1;4,2;4,3;4,4;4,5;4,6;4,7;4,8;4,9;4,10],[%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t],[4,10]));
414assert_checkequal(SPC == SP1, sparse([1,1],[%f],[4,10]));
415assert_checkequal(SPC == SPC1, sparse([1,1],[%f],[4,10]));
416assert_checkequal(SPC == i8, sparse([1,1],[%f],[4,10]));
417assert_checkequal(SPC == I8, %f);
418assert_checkequal(SPC == ui8, sparse([1,1],[%f],[4,10]));
419assert_checkequal(SPC == UI8, %f);
420assert_checkequal(SPC == i16, sparse([1,1],[%f],[4,10]));
421assert_checkequal(SPC == I16, %f);
422assert_checkequal(SPC == ui16, sparse([1,1],[%f],[4,10]));
423assert_checkequal(SPC == UI16, %f);
424assert_checkequal(SPC == i32, sparse([1,1],[%f],[4,10]));
425assert_checkequal(SPC == I32, %f);
426assert_checkequal(SPC == ui32, sparse([1,1],[%f],[4,10]));
427assert_checkequal(SPC == UI32, %f);
428assert_checkequal(SPC == str, %f);
429assert_checkequal(SPC == STR, %f);
430assert_checkequal(SPC == b, %f);
431assert_checkequal(SPC == B, %f);
432assert_checkequal(SPC == SPB, %f);
433assert_checkequal(SP1 == empty, %f);
434assert_checkequal(SP1 == r, sparse([1,1],[%f],[1,1]));
435assert_checkequal(SP1 == c, sparse([1,1],[%f],[1,1]));
436assert_checkequal(SP1 == R, %f);
437assert_checkequal(SP1 == C, %f);
438assert_checkequal(SP1 == e, %f);
439assert_checkequal(SP1 == ec, %f);
440assert_checkequal(SP1 == SP, sparse([1,1],[%f],[4,10]));
441assert_checkequal(SP1 == SPC, sparse([1,1],[%f],[4,10]));
442assert_checkequal(SP1 == SP1, sparse([1,1],%t,[1,1]));
443assert_checkequal(SP1 == SPC1, sparse([1,1],[%f],[1,1]));
444assert_checkequal(SP1 == i8, sparse([1,1],[%f],[1,1]));
445assert_checkequal(SP1 == I8, %f);
446assert_checkequal(SP1 == ui8, sparse([1,1],[%f],[1,1]));
447assert_checkequal(SP1 == UI8, %f);
448assert_checkequal(SP1 == i16, sparse([1,1],[%f],[1,1]));
449assert_checkequal(SP1 == I16, %f);
450assert_checkequal(SP1 == ui16, sparse([1,1],[%f],[1,1]));
451assert_checkequal(SP1 == UI16, %f);
452assert_checkequal(SP1 == i32, sparse([1,1],[%f],[1,1]));
453assert_checkequal(SP1 == I32, %f);
454assert_checkequal(SP1 == ui32, sparse([1,1],[%f],[1,1]));
455assert_checkequal(SP1 == UI32, %f);
456assert_checkequal(SP1 == str, %f);
457assert_checkequal(SP1 == STR, %f);
458assert_checkequal(SP1 == b, %f);
459assert_checkequal(SP1 == B, %f);
460assert_checkequal(SP1 == SPB, %f);
461assert_checkequal(SPC1 == empty, %f);
462assert_checkequal(SPC1 == r, sparse([1,1],[%f],[1,1]));
463assert_checkequal(SPC1 == c, sparse([1,1],[%f],[1,1]));
464assert_checkequal(SPC1 == R, %f);
465assert_checkequal(SPC1 == C, %f);
466assert_checkequal(SPC1 == e, %f);
467assert_checkequal(SPC1 == ec, %f);
468assert_checkequal(SPC1 == SP, sparse([1,1],[%f],[4,10]));
469assert_checkequal(SPC1 == SPC, sparse([1,1],[%f],[4,10]));
470assert_checkequal(SPC1 == SP1, sparse([1,1],[%f],[1,1]));
471assert_checkequal(SPC1 == SPC1, sparse([1,1],%t,[1,1]));
472assert_checkequal(SPC1 == i8, sparse([1,1],[%f],[1,1]));
473assert_checkequal(SPC1 == I8, %f);
474assert_checkequal(SPC1 == ui8, sparse([1,1],[%f],[1,1]));
475assert_checkequal(SPC1 == UI8, %f);
476assert_checkequal(SPC1 == i16, sparse([1,1],[%f],[1,1]));
477assert_checkequal(SPC1 == I16, %f);
478assert_checkequal(SPC1 == ui16, sparse([1,1],[%f],[1,1]));
479assert_checkequal(SPC1 == UI16, %f);
480assert_checkequal(SPC1 == i32, sparse([1,1],[%f],[1,1]));
481assert_checkequal(SPC1 == I32, %f);
482assert_checkequal(SPC1 == ui32, sparse([1,1],[%f],[1,1]));
483assert_checkequal(SPC1 == UI32, %f);
484assert_checkequal(SPC1 == str, %f);
485assert_checkequal(SPC1 == STR, %f);
486assert_checkequal(SPC1 == b, %f);
487assert_checkequal(SPC1 == B, %f);
488assert_checkequal(SPC1 == SPB, %f);
489assert_checkequal(i8 == empty, %f);
490assert_checkequal(i8 == r, %f);
491assert_checkequal(i8 == c, %f);
492assert_checkequal(i8 == R, [%f,%f;%f,%f]);
493assert_checkequal(i8 == C, [%f,%f;%f,%f]);
494assert_checkequal(i8 == e, %f);
495assert_checkequal(i8 == ec, %f);
496assert_checkequal(i8 == p, %f);
497assert_checkequal(i8 == pc, %f);
498assert_checkequal(i8 == P, [%f,%f;%f,%f]);
499assert_checkequal(i8 == PC, [%f,%f;%f,%f]);
500assert_checkequal(i8 == SP, sparse([1,1],[%f],[4,10]));
501assert_checkequal(i8 == SPC, sparse([1,1],[%f],[4,10]));
502assert_checkequal(i8 == SP1, sparse([1,1],[%f],[1,1]));
503assert_checkequal(i8 == SPC1, sparse([1,1],[%f],[1,1]));
504assert_checkequal(i8 == i8, %t);
505assert_checkequal(i8 == I8, [%t,%f;%f,%f]);
506assert_checkequal(i8 == ui8, %f);
507assert_checkequal(i8 == UI8, [%f,%f;%f,%f]);
508assert_checkequal(i8 == i16, %f);
509assert_checkequal(i8 == I16, [%f,%f;%f,%f]);
510assert_checkequal(i8 == ui16, %f);
511assert_checkequal(i8 == UI16, [%f,%f;%f,%f]);
512assert_checkequal(i8 == i32, %f);
513assert_checkequal(i8 == I32, [%f,%f;%f,%f]);
514assert_checkequal(i8 == ui32, %f);
515assert_checkequal(i8 == UI32, [%f,%f;%f,%f]);
516assert_checkequal(i8 == str, %f);
517assert_checkequal(i8 == STR, %f);
518assert_checkequal(i8 == b, %f);
519assert_checkequal(i8 == B, [%f,%f;%f,%f]);
520assert_checkequal(i8 == SPB, %f);
521assert_checkequal(I8 == empty, %f);
522assert_checkequal(I8 == r, [%f,%t;%f,%f]);
523assert_checkequal(I8 == c, [%f,%f;%f,%f]);
524assert_checkequal(I8 == R, [%f,%t;%f,%f]);
525assert_checkequal(I8 == C, [%f,%f;%f,%f]);
526assert_checkequal(I8 == e, [%f,%f;%f,%f]);
527assert_checkequal(I8 == ec, [%f,%f;%f,%f]);
528assert_checkequal(I8 == p, [%f,%f;%f,%f]);
529assert_checkequal(I8 == pc, [%f,%f;%f,%f]);
530assert_checkequal(I8 == P, [%f,%t;%f,%f]);
531assert_checkequal(I8 == PC, [%f,%t;%f,%f]);
532assert_checkequal(I8 == SP, %f);
533assert_checkequal(I8 == SPC, %f);
534assert_checkequal(I8 == SP1, %f);
535assert_checkequal(I8 == SPC1, %f);
536assert_checkequal(I8 == i8, [%t,%f;%f,%f]);
537assert_checkequal(I8 == I8, [%t,%t;%t,%t]);
538assert_checkequal(I8 == ui8, [%f,%f;%f,%f]);
539assert_checkequal(I8 == UI8, [%f,%t;%f,%f]);
540assert_checkequal(I8 == i16, [%f,%f;%f,%f]);
541assert_checkequal(I8 == I16, [%f,%t;%f,%f]);
542assert_checkequal(I8 == ui16, [%f,%f;%f,%f]);
543assert_checkequal(I8 == UI16, [%f,%t;%f,%f]);
544assert_checkequal(I8 == i32, [%f,%f;%f,%t]);
545assert_checkequal(I8 == I32, [%f,%t;%f,%f]);
546assert_checkequal(I8 == ui32, [%f,%f;%f,%f]);
547assert_checkequal(I8 == UI32, [%f,%t;%f,%f]);
548assert_checkequal(I8 == str, %f);
549assert_checkequal(I8 == STR, %f);
550assert_checkequal(I8 == b, [%f,%f;%f,%f]);
551assert_checkequal(I8 == B, [%f,%f;%f,%f]);
552assert_checkequal(I8 == SPB, %f);
553assert_checkequal(ui8 == empty, %f);
554assert_checkequal(ui8 == r, %f);
555assert_checkequal(ui8 == c, %f);
556assert_checkequal(ui8 == R, [%f,%f;%f,%f]);
557assert_checkequal(ui8 == C, [%f,%f;%f,%f]);
558assert_checkequal(ui8 == e, %f);
559assert_checkequal(ui8 == ec, %f);
560assert_checkequal(ui8 == p, %f);
561assert_checkequal(ui8 == pc, %f);
562assert_checkequal(ui8 == P, [%f,%f;%f,%f]);
563assert_checkequal(ui8 == PC, [%f,%f;%f,%f]);
564assert_checkequal(ui8 == SP, sparse([1,1],[%f],[4,10]));
565assert_checkequal(ui8 == SPC, sparse([1,1],[%f],[4,10]));
566assert_checkequal(ui8 == SP1, sparse([1,1],[%f],[1,1]));
567assert_checkequal(ui8 == SPC1, sparse([1,1],[%f],[1,1]));
568assert_checkequal(ui8 == i8, %f);
569assert_checkequal(ui8 == I8, [%f,%f;%f,%f]);
570assert_checkequal(ui8 == ui8, %t);
571assert_checkequal(ui8 == UI8, [%t,%f;%f,%f]);
572assert_checkequal(ui8 == i16, %f);
573assert_checkequal(ui8 == I16, [%f,%f;%f,%f]);
574assert_checkequal(ui8 == ui16, %f);
575assert_checkequal(ui8 == UI16, [%f,%f;%f,%f]);
576assert_checkequal(ui8 == i32, %f);
577assert_checkequal(ui8 == I32, [%f,%f;%f,%f]);
578assert_checkequal(ui8 == ui32, %f);
579assert_checkequal(ui8 == UI32, [%f,%f;%f,%f]);
580assert_checkequal(ui8 == str, %f);
581assert_checkequal(ui8 == STR, %f);
582assert_checkequal(ui8 == b, %f);
583assert_checkequal(ui8 == B, [%f,%f;%f,%f]);
584assert_checkequal(ui8 == SPB, %f);
585assert_checkequal(UI8 == empty, %f);
586assert_checkequal(UI8 == r, [%f,%t;%f,%f]);
587assert_checkequal(UI8 == c, [%f,%f;%f,%f]);
588assert_checkequal(UI8 == R, [%f,%t;%f,%f]);
589assert_checkequal(UI8 == C, [%f,%f;%f,%f]);
590assert_checkequal(UI8 == e, [%f,%f;%f,%f]);
591assert_checkequal(UI8 == ec, [%f,%f;%f,%f]);
592assert_checkequal(UI8 == p, [%f,%f;%f,%f]);
593assert_checkequal(UI8 == pc, [%f,%f;%f,%f]);
594assert_checkequal(UI8 == P, [%f,%t;%f,%f]);
595assert_checkequal(UI8 == PC, [%f,%t;%f,%f]);
596assert_checkequal(UI8 == SP, %f);
597assert_checkequal(UI8 == SPC, %f);
598assert_checkequal(UI8 == SP1, %f);
599assert_checkequal(UI8 == SPC1, %f);
600assert_checkequal(UI8 == i8, [%f,%f;%f,%f]);
601assert_checkequal(UI8 == I8, [%f,%t;%f,%f]);
602assert_checkequal(UI8 == ui8, [%t,%f;%f,%f]);
603assert_checkequal(UI8 == UI8, [%t,%t;%t,%t]);
604assert_checkequal(UI8 == i16, [%f,%f;%f,%f]);
605assert_checkequal(UI8 == I16, [%f,%t;%f,%f]);
606assert_checkequal(UI8 == ui16, [%f,%f;%f,%f]);
607assert_checkequal(UI8 == UI16, [%f,%t;%f,%f]);
608assert_checkequal(UI8 == i32, [%f,%f;%f,%f]);
609assert_checkequal(UI8 == I32, [%f,%t;%f,%f]);
610assert_checkequal(UI8 == ui32, [%f,%f;%f,%t]);
611assert_checkequal(UI8 == UI32, [%f,%t;%f,%f]);
612assert_checkequal(UI8 == str, %f);
613assert_checkequal(UI8 == STR, %f);
614assert_checkequal(UI8 == b, [%f,%f;%f,%f]);
615assert_checkequal(UI8 == B, [%f,%f;%f,%f]);
616assert_checkequal(UI8 == SPB, %f);
617assert_checkequal(i16 == empty, %f);
618assert_checkequal(i16 == r, %f);
619assert_checkequal(i16 == c, %f);
620assert_checkequal(i16 == R, [%f,%f;%f,%f]);
621assert_checkequal(i16 == C, [%f,%f;%f,%f]);
622assert_checkequal(i16 == e, %f);
623assert_checkequal(i16 == ec, %f);
624assert_checkequal(i16 == p, %f);
625assert_checkequal(i16 == pc, %f);
626assert_checkequal(i16 == P, [%f,%f;%f,%f]);
627assert_checkequal(i16 == PC, [%f,%f;%f,%f]);
628assert_checkequal(i16 == SP, sparse([1,1],[%f],[4,10]));
629assert_checkequal(i16 == SPC, sparse([1,1],[%f],[4,10]));
630assert_checkequal(i16 == SP1, sparse([1,1],[%f],[1,1]));
631assert_checkequal(i16 == SPC1, sparse([1,1],[%f],[1,1]));
632assert_checkequal(i16 == i8, %f);
633assert_checkequal(i16 == I8, [%f,%f;%f,%f]);
634assert_checkequal(i16 == ui8, %f);
635assert_checkequal(i16 == UI8, [%f,%f;%f,%f]);
636assert_checkequal(i16 == i16, %t);
637assert_checkequal(i16 == I16, [%t,%f;%f,%f]);
638assert_checkequal(i16 == ui16, %f);
639assert_checkequal(i16 == UI16, [%f,%f;%f,%f]);
640assert_checkequal(i16 == i32, %f);
641assert_checkequal(i16 == I32, [%f,%f;%f,%f]);
642assert_checkequal(i16 == ui32, %f);
643assert_checkequal(i16 == UI32, [%f,%f;%f,%f]);
644assert_checkequal(i16 == str, %f);
645assert_checkequal(i16 == STR, %f);
646assert_checkequal(i16 == b, %f);
647assert_checkequal(i16 == B, [%f,%f;%f,%f]);
648assert_checkequal(i16 == SPB, %f);
649assert_checkequal(I16 == empty, %f);
650assert_checkequal(I16 == r, [%f,%t;%f,%f]);
651assert_checkequal(I16 == c, [%f,%f;%f,%f]);
652assert_checkequal(I16 == R, [%f,%t;%f,%f]);
653assert_checkequal(I16 == C, [%f,%f;%f,%f]);
654assert_checkequal(I16 == e, [%f,%f;%f,%f]);
655assert_checkequal(I16 == ec, [%f,%f;%f,%f]);
656assert_checkequal(I16 == p, [%f,%f;%f,%f]);
657assert_checkequal(I16 == pc, [%f,%f;%f,%f]);
658assert_checkequal(I16 == P, [%f,%t;%f,%f]);
659assert_checkequal(I16 == PC, [%f,%t;%f,%f]);
660assert_checkequal(I16 == SP, %f);
661assert_checkequal(I16 == SPC, %f);
662assert_checkequal(I16 == SP1, %f);
663assert_checkequal(I16 == SPC1, %f);
664assert_checkequal(I16 == i8, [%f,%f;%f,%f]);
665assert_checkequal(I16 == I8, [%f,%t;%f,%f]);
666assert_checkequal(I16 == ui8, [%f,%f;%f,%f]);
667assert_checkequal(I16 == UI8, [%f,%t;%f,%f]);
668assert_checkequal(I16 == i16, [%t,%f;%f,%f]);
669assert_checkequal(I16 == I16, [%t,%t;%t,%t]);
670assert_checkequal(I16 == ui16, [%f,%f;%f,%f]);
671assert_checkequal(I16 == UI16, [%f,%t;%f,%f]);
672assert_checkequal(I16 == i32, [%f,%f;%f,%f]);
673assert_checkequal(I16 == I32, [%f,%t;%f,%f]);
674assert_checkequal(I16 == ui32, [%f,%f;%f,%f]);
675assert_checkequal(I16 == UI32, [%f,%t;%f,%f]);
676assert_checkequal(I16 == str, %f);
677assert_checkequal(I16 == STR, %f);
678assert_checkequal(I16 == b, [%f,%f;%f,%f]);
679assert_checkequal(I16 == B, [%f,%f;%f,%f]);
680assert_checkequal(I16 == SPB, %f);
681assert_checkequal(ui16 == empty, %f);
682assert_checkequal(ui16 == r, %f);
683assert_checkequal(ui16 == c, %f);
684assert_checkequal(ui16 == R, [%f,%f;%f,%f]);
685assert_checkequal(ui16 == C, [%f,%f;%f,%f]);
686assert_checkequal(ui16 == e, %f);
687assert_checkequal(ui16 == ec, %f);
688assert_checkequal(ui16 == p, %f);
689assert_checkequal(ui16 == pc, %f);
690assert_checkequal(ui16 == P, [%f,%f;%f,%f]);
691assert_checkequal(ui16 == PC, [%f,%f;%f,%f]);
692assert_checkequal(ui16 == SP, sparse([1,1],[%f],[4,10]));
693assert_checkequal(ui16 == SPC, sparse([1,1],[%f],[4,10]));
694assert_checkequal(ui16 == SP1, sparse([1,1],[%f],[1,1]));
695assert_checkequal(ui16 == SPC1, sparse([1,1],[%f],[1,1]));
696assert_checkequal(ui16 == i8, %f);
697assert_checkequal(ui16 == I8, [%f,%f;%f,%f]);
698assert_checkequal(ui16 == ui8, %f);
699assert_checkequal(ui16 == UI8, [%f,%f;%f,%f]);
700assert_checkequal(ui16 == i16, %f);
701assert_checkequal(ui16 == I16, [%f,%f;%f,%f]);
702assert_checkequal(ui16 == ui16, %t);
703assert_checkequal(ui16 == UI16, [%t,%f;%f,%f]);
704assert_checkequal(ui16 == i32, %f);
705assert_checkequal(ui16 == I32, [%f,%f;%f,%f]);
706assert_checkequal(ui16 == ui32, %f);
707assert_checkequal(ui16 == UI32, [%f,%f;%f,%f]);
708assert_checkequal(ui16 == str, %f);
709assert_checkequal(ui16 == STR, %f);
710assert_checkequal(ui16 == b, %f);
711assert_checkequal(ui16 == B, [%f,%f;%f,%f]);
712assert_checkequal(ui16 == SPB, %f);
713assert_checkequal(UI16 == empty, %f);
714assert_checkequal(UI16 == r, [%f,%t;%f,%f]);
715assert_checkequal(UI16 == c, [%f,%f;%f,%f]);
716assert_checkequal(UI16 == R, [%f,%t;%f,%f]);
717assert_checkequal(UI16 == C, [%f,%f;%f,%f]);
718assert_checkequal(UI16 == e, [%f,%f;%f,%f]);
719assert_checkequal(UI16 == ec, [%f,%f;%f,%f]);
720assert_checkequal(UI16 == p, [%f,%f;%f,%f]);
721assert_checkequal(UI16 == pc, [%f,%f;%f,%f]);
722assert_checkequal(UI16 == P, [%f,%t;%f,%f]);
723assert_checkequal(UI16 == PC, [%f,%t;%f,%f]);
724assert_checkequal(UI16 == SP, %f);
725assert_checkequal(UI16 == SPC, %f);
726assert_checkequal(UI16 == SP1, %f);
727assert_checkequal(UI16 == SPC1, %f);
728assert_checkequal(UI16 == i8, [%f,%f;%f,%f]);
729assert_checkequal(UI16 == I8, [%f,%t;%f,%f]);
730assert_checkequal(UI16 == ui8, [%f,%f;%f,%f]);
731assert_checkequal(UI16 == UI8, [%f,%t;%f,%f]);
732assert_checkequal(UI16 == i16, [%f,%f;%f,%f]);
733assert_checkequal(UI16 == I16, [%f,%t;%f,%f]);
734assert_checkequal(UI16 == ui16, [%t,%f;%f,%f]);
735assert_checkequal(UI16 == UI16, [%t,%t;%t,%t]);
736assert_checkequal(UI16 == i32, [%f,%f;%f,%f]);
737assert_checkequal(UI16 == I32, [%f,%t;%f,%f]);
738assert_checkequal(UI16 == ui32, [%f,%f;%f,%f]);
739assert_checkequal(UI16 == UI32, [%f,%t;%f,%f]);
740assert_checkequal(UI16 == str, %f);
741assert_checkequal(UI16 == STR, %f);
742assert_checkequal(UI16 == b, [%f,%f;%f,%f]);
743assert_checkequal(UI16 == B, [%f,%f;%f,%f]);
744assert_checkequal(UI16 == SPB, %f);
745assert_checkequal(i32 == empty, %f);
746assert_checkequal(i32 == r, %f);
747assert_checkequal(i32 == c, %f);
748assert_checkequal(i32 == R, [%f,%f;%f,%f]);
749assert_checkequal(i32 == C, [%f,%f;%f,%f]);
750assert_checkequal(i32 == e, %f);
751assert_checkequal(i32 == ec, %f);
752assert_checkequal(i32 == p, %f);
753assert_checkequal(i32 == pc, %f);
754assert_checkequal(i32 == P, [%f,%f;%f,%f]);
755assert_checkequal(i32 == PC, [%f,%f;%f,%f]);
756assert_checkequal(i32 == SP, sparse([1,1],[%f],[4,10]));
757assert_checkequal(i32 == SPC, sparse([1,1],[%f],[4,10]));
758assert_checkequal(i32 == SP1, sparse([1,1],[%f],[1,1]));
759assert_checkequal(i32 == SPC1, sparse([1,1],[%f],[1,1]));
760assert_checkequal(i32 == i8, %f);
761assert_checkequal(i32 == I8, [%f,%f;%f,%t]);
762assert_checkequal(i32 == ui8, %f);
763assert_checkequal(i32 == UI8, [%f,%f;%f,%f]);
764assert_checkequal(i32 == i16, %f);
765assert_checkequal(i32 == I16, [%f,%f;%f,%f]);
766assert_checkequal(i32 == ui16, %f);
767assert_checkequal(i32 == UI16, [%f,%f;%f,%f]);
768assert_checkequal(i32 == i32, %t);
769assert_checkequal(i32 == I32, [%t,%f;%f,%f]);
770assert_checkequal(i32 == ui32, %f);
771assert_checkequal(i32 == UI32, [%f,%f;%f,%f]);
772assert_checkequal(i32 == str, %f);
773assert_checkequal(i32 == STR, %f);
774assert_checkequal(i32 == b, %f);
775assert_checkequal(i32 == B, [%f,%f;%f,%f]);
776assert_checkequal(i32 == SPB, %f);
777assert_checkequal(I32 == empty, %f);
778assert_checkequal(I32 == r, [%f,%t;%f,%f]);
779assert_checkequal(I32 == c, [%f,%f;%f,%f]);
780assert_checkequal(I32 == R, [%f,%t;%f,%f]);
781assert_checkequal(I32 == C, [%f,%f;%f,%f]);
782assert_checkequal(I32 == e, [%f,%f;%f,%f]);
783assert_checkequal(I32 == ec, [%f,%f;%f,%f]);
784assert_checkequal(I32 == p, [%f,%f;%f,%f]);
785assert_checkequal(I32 == pc, [%f,%f;%f,%f]);
786assert_checkequal(I32 == P, [%f,%t;%f,%f]);
787assert_checkequal(I32 == PC, [%f,%t;%f,%f]);
788assert_checkequal(I32 == SP, %f);
789assert_checkequal(I32 == SPC, %f);
790assert_checkequal(I32 == SP1, %f);
791assert_checkequal(I32 == SPC1, %f);
792assert_checkequal(I32 == i8, [%f,%f;%f,%f]);
793assert_checkequal(I32 == I8, [%f,%t;%f,%f]);
794assert_checkequal(I32 == ui8, [%f,%f;%f,%f]);
795assert_checkequal(I32 == UI8, [%f,%t;%f,%f]);
796assert_checkequal(I32 == i16, [%f,%f;%f,%f]);
797assert_checkequal(I32 == I16, [%f,%t;%f,%f]);
798assert_checkequal(I32 == ui16, [%f,%f;%f,%f]);
799assert_checkequal(I32 == UI16, [%f,%t;%f,%f]);
800assert_checkequal(I32 == i32, [%t,%f;%f,%f]);
801assert_checkequal(I32 == I32, [%t,%t;%t,%t]);
802assert_checkequal(I32 == ui32, [%f,%f;%f,%f]);
803assert_checkequal(I32 == UI32, [%f,%t;%f,%f]);
804assert_checkequal(I32 == str, %f);
805assert_checkequal(I32 == STR, %f);
806assert_checkequal(I32 == b, [%f,%f;%f,%f]);
807assert_checkequal(I32 == B, [%f,%f;%f,%f]);
808assert_checkequal(I32 == SPB, %f);
809assert_checkequal(ui32 == empty, %f);
810assert_checkequal(ui32 == r, %f);
811assert_checkequal(ui32 == c, %f);
812assert_checkequal(ui32 == R, [%f,%f;%f,%f]);
813assert_checkequal(ui32 == C, [%f,%f;%f,%f]);
814assert_checkequal(ui32 == e, %f);
815assert_checkequal(ui32 == ec, %f);
816assert_checkequal(ui32 == p, %f);
817assert_checkequal(ui32 == pc, %f);
818assert_checkequal(ui32 == P, [%f,%f;%f,%f]);
819assert_checkequal(ui32 == PC, [%f,%f;%f,%f]);
820assert_checkequal(ui32 == SP, sparse([1,1],[%f],[4,10]));
821assert_checkequal(ui32 == SPC, sparse([1,1],[%f],[4,10]));
822assert_checkequal(ui32 == SP1, sparse([1,1],[%f],[1,1]));
823assert_checkequal(ui32 == SPC1, sparse([1,1],[%f],[1,1]));
824assert_checkequal(ui32 == i8, %f);
825assert_checkequal(ui32 == I8, [%f,%f;%f,%f]);
826assert_checkequal(ui32 == ui8, %f);
827assert_checkequal(ui32 == UI8, [%f,%f;%f,%t]);
828assert_checkequal(ui32 == i16, %f);
829assert_checkequal(ui32 == I16, [%f,%f;%f,%f]);
830assert_checkequal(ui32 == ui16, %f);
831assert_checkequal(ui32 == UI16, [%f,%f;%f,%f]);
832assert_checkequal(ui32 == i32, %f);
833assert_checkequal(ui32 == I32, [%f,%f;%f,%f]);
834assert_checkequal(ui32 == ui32, %t);
835assert_checkequal(ui32 == UI32, [%t,%f;%f,%f]);
836assert_checkequal(ui32 == str, %f);
837assert_checkequal(ui32 == STR, %f);
838assert_checkequal(ui32 == b, %f);
839assert_checkequal(ui32 == B, [%f,%f;%f,%f]);
840assert_checkequal(ui32 == SPB, %f);
841assert_checkequal(UI32 == empty, %f);
842assert_checkequal(UI32 == r, [%f,%t;%f,%f]);
843assert_checkequal(UI32 == c, [%f,%f;%f,%f]);
844assert_checkequal(UI32 == R, [%f,%t;%f,%f]);
845assert_checkequal(UI32 == C, [%f,%f;%f,%f]);
846assert_checkequal(UI32 == e, [%f,%f;%f,%f]);
847assert_checkequal(UI32 == ec, [%f,%f;%f,%f]);
848assert_checkequal(UI32 == p, [%f,%f;%f,%f]);
849assert_checkequal(UI32 == pc, [%f,%f;%f,%f]);
850assert_checkequal(UI32 == P, [%f,%t;%f,%f]);
851assert_checkequal(UI32 == PC, [%f,%t;%f,%f]);
852assert_checkequal(UI32 == SP, %f);
853assert_checkequal(UI32 == SPC, %f);
854assert_checkequal(UI32 == SP1, %f);
855assert_checkequal(UI32 == SPC1, %f);
856assert_checkequal(UI32 == i8, [%f,%f;%f,%f]);
857assert_checkequal(UI32 == I8, [%f,%t;%f,%f]);
858assert_checkequal(UI32 == ui8, [%f,%f;%f,%f]);
859assert_checkequal(UI32 == UI8, [%f,%t;%f,%f]);
860assert_checkequal(UI32 == i16, [%f,%f;%f,%f]);
861assert_checkequal(UI32 == I16, [%f,%t;%f,%f]);
862assert_checkequal(UI32 == ui16, [%f,%f;%f,%f]);
863assert_checkequal(UI32 == UI16, [%f,%t;%f,%f]);
864assert_checkequal(UI32 == i32, [%f,%f;%f,%f]);
865assert_checkequal(UI32 == I32, [%f,%t;%f,%f]);
866assert_checkequal(UI32 == ui32, [%t,%f;%f,%f]);
867assert_checkequal(UI32 == UI32, [%t,%t;%t,%t]);
868assert_checkequal(UI32 == str, %f);
869assert_checkequal(UI32 == STR, %f);
870assert_checkequal(UI32 == b, [%f,%f;%f,%f]);
871assert_checkequal(UI32 == B, [%f,%f;%f,%f]);
872assert_checkequal(UI32 == SPB, %f);
873assert_checkequal(str == empty, %f);
874assert_checkequal(str == r, %f);
875assert_checkequal(str == c, %f);
876assert_checkequal(str == R, %f);
877assert_checkequal(str == C, %f);
878assert_checkequal(str == e, %f);
879assert_checkequal(str == ec, %f);
880assert_checkequal(str == p, %f);
881assert_checkequal(str == pc, %f);
882assert_checkequal(str == P, %f);
883assert_checkequal(str == PC, %f);
884assert_checkequal(str == SP, %f);
885assert_checkequal(str == SPC, %f);
886assert_checkequal(str == SP1, %f);
887assert_checkequal(str == SPC1, %f);
888assert_checkequal(str == i8, %f);
889assert_checkequal(str == I8, %f);
890assert_checkequal(str == ui8, %f);
891assert_checkequal(str == UI8, %f);
892assert_checkequal(str == i16, %f);
893assert_checkequal(str == I16, %f);
894assert_checkequal(str == ui16, %f);
895assert_checkequal(str == UI16, %f);
896assert_checkequal(str == i32, %f);
897assert_checkequal(str == I32, %f);
898assert_checkequal(str == ui32, %f);
899assert_checkequal(str == UI32, %f);
900assert_checkequal(str == str, %t);
901assert_checkequal(str == STR, [%f,%f;%f,%f]);
902assert_checkequal(str == b, %f);
903assert_checkequal(str == B, %f);
904assert_checkequal(str == SPB, %f);
905assert_checkequal(STR == empty, %f);
906assert_checkequal(STR == r, %f);
907assert_checkequal(STR == c, %f);
908assert_checkequal(STR == R, %f);
909assert_checkequal(STR == C, %f);
910assert_checkequal(STR == e, %f);
911assert_checkequal(STR == ec, %f);
912assert_checkequal(STR == p, %f);
913assert_checkequal(STR == pc, %f);
914assert_checkequal(STR == P, %f);
915assert_checkequal(STR == PC, %f);
916assert_checkequal(STR == SP, %f);
917assert_checkequal(STR == SPC, %f);
918assert_checkequal(STR == SP1, %f);
919assert_checkequal(STR == SPC1, %f);
920assert_checkequal(STR == i8, %f);
921assert_checkequal(STR == I8, %f);
922assert_checkequal(STR == ui8, %f);
923assert_checkequal(STR == UI8, %f);
924assert_checkequal(STR == i16, %f);
925assert_checkequal(STR == I16, %f);
926assert_checkequal(STR == ui16, %f);
927assert_checkequal(STR == UI16, %f);
928assert_checkequal(STR == i32, %f);
929assert_checkequal(STR == I32, %f);
930assert_checkequal(STR == ui32, %f);
931assert_checkequal(STR == UI32, %f);
932assert_checkequal(STR == str, [%f,%f;%f,%f]);
933assert_checkequal(STR == STR, [%t,%t;%t,%t]);
934assert_checkequal(STR == b, %f);
935assert_checkequal(STR == B, %f);
936assert_checkequal(STR == SPB, %f);
937assert_checkequal(b == empty, %f);
938assert_checkequal(b == r, %f);
939assert_checkequal(b == c, %f);
940assert_checkequal(b == R, %f);
941assert_checkequal(b == C, %f);
942assert_checkequal(b == e, %f);
943assert_checkequal(b == ec, %f);
944assert_checkequal(b == p, %f);
945assert_checkequal(b == pc, %f);
946assert_checkequal(b == P, %f);
947assert_checkequal(b == PC, %f);
948assert_checkequal(b == SP, %f);
949assert_checkequal(b == SPC, %f);
950assert_checkequal(b == SP1, %f);
951assert_checkequal(b == SPC1, %f);
952assert_checkequal(b == i8, %f);
953assert_checkequal(b == I8, [%f,%f;%f,%f]);
954assert_checkequal(b == ui8, %f);
955assert_checkequal(b == UI8, [%f,%f;%f,%f]);
956assert_checkequal(b == i16, %f);
957assert_checkequal(b == I16, [%f,%f;%f,%f]);
958assert_checkequal(b == ui16, %f);
959assert_checkequal(b == UI16, [%f,%f;%f,%f]);
960assert_checkequal(b == i32, %f);
961assert_checkequal(b == I32, [%f,%f;%f,%f]);
962assert_checkequal(b == ui32, %f);
963assert_checkequal(b == UI32, [%f,%f;%f,%f]);
964assert_checkequal(b == str, %f);
965assert_checkequal(b == STR, %f);
966assert_checkequal(b == b, %t);
967assert_checkequal(b == B, [%f,%t;%t,%f]);
968assert_checkequal(b == SPB, sparse([1,1;2,2],[%t;%t],[2,2]));
969assert_checkequal(B == empty, %f);
970assert_checkequal(B == r, %f);
971assert_checkequal(B == c, %f);
972assert_checkequal(B == R, %f);
973assert_checkequal(B == C, %f);
974assert_checkequal(B == e, %f);
975assert_checkequal(B == ec, %f);
976assert_checkequal(B == p, %f);
977assert_checkequal(B == pc, %f);
978assert_checkequal(B == P, %f);
979assert_checkequal(B == PC, %f);
980assert_checkequal(B == SP, %f);
981assert_checkequal(B == SPC, %f);
982assert_checkequal(B == SP1, %f);
983assert_checkequal(B == SPC1, %f);
984assert_checkequal(B == i8, [%f,%f;%f,%f]);
985assert_checkequal(B == I8, [%f,%f;%f,%f]);
986assert_checkequal(B == ui8, [%f,%f;%f,%f]);
987assert_checkequal(B == UI8, [%f,%f;%f,%f]);
988assert_checkequal(B == i16, [%f,%f;%f,%f]);
989assert_checkequal(B == I16, [%f,%f;%f,%f]);
990assert_checkequal(B == ui16, [%f,%f;%f,%f]);
991assert_checkequal(B == UI16, [%f,%f;%f,%f]);
992assert_checkequal(B == i32, [%f,%f;%f,%f]);
993assert_checkequal(B == I32, [%f,%f;%f,%f]);
994assert_checkequal(B == ui32, [%f,%f;%f,%f]);
995assert_checkequal(B == UI32, [%f,%f;%f,%f]);
996assert_checkequal(B == str, %f);
997assert_checkequal(B == STR, %f);
998assert_checkequal(B == b, [%f,%t;%t,%f]);
999assert_checkequal(B == B, [%t,%t;%t,%t]);
1000assert_checkequal(B == SPB, sparse([1,1],[%f],[2,2]));
1001assert_checkequal(SPB == empty, %f);
1002assert_checkequal(SPB == r, %f);
1003assert_checkequal(SPB == c, %f);
1004assert_checkequal(SPB == R, %f);
1005assert_checkequal(SPB == C, %f);
1006assert_checkequal(SPB == e, %f);
1007assert_checkequal(SPB == ec, %f);
1008assert_checkequal(SPB == SP, %f);
1009assert_checkequal(SPB == SPC, %f);
1010assert_checkequal(SPB == SP1, %f);
1011assert_checkequal(SPB == SPC1, %f);
1012assert_checkequal(SPB == i8, %f);
1013assert_checkequal(SPB == I8, %f);
1014assert_checkequal(SPB == ui8, %f);
1015assert_checkequal(SPB == UI8, %f);
1016assert_checkequal(SPB == i16, %f);
1017assert_checkequal(SPB == I16, %f);
1018assert_checkequal(SPB == ui16, %f);
1019assert_checkequal(SPB == UI16, %f);
1020assert_checkequal(SPB == i32, %f);
1021assert_checkequal(SPB == I32, %f);
1022assert_checkequal(SPB == ui32, %f);
1023assert_checkequal(SPB == UI32, %f);
1024assert_checkequal(SPB == str, %f);
1025assert_checkequal(SPB == STR, %f);
1026assert_checkequal(SPB == b, sparse([1,1;2,2],[%t;%t],[2,2]));
1027assert_checkequal(SPB == B, sparse([1,1],[%f],[2,2]));
1028assert_checkequal(SPB == SPB, sparse([1,1;1,2;2,1;2,2],[%t;%t;%t;%t],[2,2]));
1029assert_checkequal(["a" "b"] == ["a" "b" "c"],%f);
1030assert_checkequal(["a" "b"] == ["a" ; "b"],%f);
1031assert_checkequal(["a" "b" "c"] == ["a" "b"],%f);
1032assert_checkequal(["a" "b"; "a" "b"] == ["a" "b"],%f);
1033//macro
1034deff("[x]=myplus(y,z)","x=y+z");
1035deff("[x]=mymacro(y,z)",["a=3*y+1"; "x=a*z+y"]);
1036assert_checkequal(myplus == myplus,%t);
1037assert_checkequal(myplus == mymacro,%f);
1038assert_checkequal(myplus == [],%f);
1039assert_checkequal(myplus == 2,%f);
1040//struct
1041test_st=struct("double",1,"string","test","int8",int8(2),"struct",struct("valeur",0));
1042test_st2=struct("double",1,"string","test","int16",int8(2),"struct",1);
1043test_st4=struct("double",1,"string","test","int8",int8(4),"struct",struct("valeur",0));
1044test_st8=struct("double",8,"string","test","int8",int8(8),"struct",struct("valeur",0));
1045assert_checkequal(test_st == test_st, %t);
1046assert_checkequal(test_st == test_st2, %f);
1047assert_checkequal([test_st4 test_st8] == [test_st test_st], [%f %f]);
1048assert_checkequal([test_st, test_st4;test_st4,test_st8] == [test_st, test_st; test_st,test_st], [%t, %f; %f , %f]);
1049assert_checkequal(test_st == [], %f);
1050//function
1051assert_checkequal(acosd == acosd, %t);
1052assert_checkequal(acosd == [], %f);
1053assert_checkequal(acosd == 2, %f);
1054//polynom
1055res = horner(1/(1-%s),1/(1-%s));
1056assert_checkequal(res == (1-%s)/-%s, %t);
1057assert_checkequal(res == (1-%s)/1, %f);
1058assert_checkequal(res == 1/-%s, %f);
diff --git a/scilab/modules/ast/tests/unit_tests/comparisonequal.tst b/scilab/modules/ast/tests/unit_tests/comparisonequal.tst
index 8edba8c..7c3b651 100644
--- a/scilab/modules/ast/tests/unit_tests/comparisonequal.tst
+++ b/scilab/modules/ast/tests/unit_tests/comparisonequal.tst
@@ -1,10 +1,13 @@
1// ============================================================================ 1// ============================================================================
2// Scilab ( http://www.scilab.org/ ) - This file is part of Scilab 2// Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
3// Copyright (C) 2014 - Scilab Enterprises - Sylvain GENIN 3// Copyright (C) 2014 - Scilab Enterprises - Sylvain GENIN
4// Copyright (C) 2021 - Samuel GOUGEON
4// 5//
5// This file is distributed under the same license as the Scilab package. 6// This file is distributed under the same license as the Scilab package.
6// ============================================================================ 7// ============================================================================
8// <-- NO CHECK REF -->
7// <-- CLI SHELL MODE --> 9// <-- CLI SHELL MODE -->
10
8s = %s; 11s = %s;
9 12
10empty = []; 13empty = [];
@@ -1108,4 +1111,29 @@ assert_checkequal(res == (1-%s)/-%s, %t);
1108assert_checkequal(res == (1-%s)/1, %f); 1111assert_checkequal(res == (1-%s)/1, %f);
1109assert_checkequal(res == 1/-%s, %f); 1112assert_checkequal(res == 1/-%s, %f);
1110 1113
1111 1114// Equality with a type==0 object (void or listdelete)
1115// ---------------------------------------------------
1116L = list(,2);
1117assert_checktrue(L(1) == L(1));
1118assert_checktrue(null() == null());
1119assert_checkfalse(L(1) == null());
1120assert_checkfalse(null() == L(1));
1121//
1122lss = syslin('c',[0,1;0,0],[1;1],[1,1]);
1123ptr = lufact(sparse(rand(5,5)));
1124x = 1:10; h5File = TMPDIR + filesep()+"x.sod"; save(h5File,"x"); h5 = h5open(h5File);
1125program = macr2tree(%0_o_0);
1126xml = xmlReadStr("<root><a rib=""bar""><b>Hello</b></a></root>");
1127L2 = list(1, [], %z, %f, sparse(5), sparse(%t), int8(2), "abc", sin, ..
1128 sind, list(3), list(), {1,%t}, {}, struct("a",3), 1/%z, 1:$, lss, ..
1129 ptr, h5, program, xml);
1130for object = L2
1131 assert_checkfalse(object == L(1));
1132 assert_checkfalse(object == null());
1133 assert_checkfalse(L(1) == object);
1134 assert_checkfalse(null() == object);
1135end
1136h5close(h5);
1137ludel(ptr);
1138xmlDelete(xml);
1139mdelete(h5File);
diff --git a/scilab/modules/ast/tests/unit_tests/comparisonequal_with_graphic.dia.ref b/scilab/modules/ast/tests/unit_tests/comparisonequal_with_graphic.dia.ref
deleted file mode 100644
index afffa1f..0000000
--- a/scilab/modules/ast/tests/unit_tests/comparisonequal_with_graphic.dia.ref
+++ /dev/null
@@ -1,13 +0,0 @@
1// ============================================================================
2// Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
3// Copyright (C) 2014 - Scilab Enterprises - Sylvain GENIN
4//
5// This file is distributed under the same license as the Scilab package.
6// ============================================================================
7// <-- TEST WITH GRAPHIC -->
8//handle
9handle1 = gcf();
10handle2 = gca();
11assert_checkequal(handle1 == handle1, %t);
12assert_checkequal(handle1 == handle2, %f);
13delete(handle1);
diff --git a/scilab/modules/ast/tests/unit_tests/comparisonequal_with_graphic.tst b/scilab/modules/ast/tests/unit_tests/comparisonequal_with_graphic.tst
index cb47d63..34795a6 100644
--- a/scilab/modules/ast/tests/unit_tests/comparisonequal_with_graphic.tst
+++ b/scilab/modules/ast/tests/unit_tests/comparisonequal_with_graphic.tst
@@ -1,11 +1,13 @@
1// ============================================================================ 1// ============================================================================
2// Scilab ( http://www.scilab.org/ ) - This file is part of Scilab 2// Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
3// Copyright (C) 2014 - Scilab Enterprises - Sylvain GENIN 3// Copyright (C) 2014 - Scilab Enterprises - Sylvain GENIN
4// Copyright (C) 2021 - Samuel GOUGEON
4// 5//
5// This file is distributed under the same license as the Scilab package. 6// This file is distributed under the same license as the Scilab package.
6// ============================================================================ 7// ============================================================================
7 8
8// <-- TEST WITH GRAPHIC --> 9// <-- TEST WITH GRAPHIC -->
10// <-- NO CHECK REF -->
9 11
10//handle 12//handle
11handle1 = gcf(); 13handle1 = gcf();
@@ -16,3 +18,12 @@ assert_checkequal(handle1 == handle2, %f);
16 18
17delete(handle1); 19delete(handle1);
18 20
21// With type 0:
22L = list(,2);
23uitree = uiCreateTree(uiCreateNode('Root', 'path\rootImage.jpg', 'rootCallback'));
24for object = list(gdf(), uitree)
25 assert_checkfalse(object == L(1));
26 assert_checkfalse(object == null());
27 assert_checkfalse(null() == object);
28 assert_checkfalse(L(1) == object);
29end
diff --git a/scilab/modules/ast/tests/unit_tests/comparisonnonequal.dia.ref b/scilab/modules/ast/tests/unit_tests/comparisonnonequal.dia.ref
deleted file mode 100644
index a43b237..0000000
--- a/scilab/modules/ast/tests/unit_tests/comparisonnonequal.dia.ref
+++ /dev/null
@@ -1,1058 +0,0 @@
1// ============================================================================
2// Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
3// Copyright (C) 2014 - Scilab Enterprises - Sylvain GENIN
4//
5// This file is distributed under the same license as the Scilab package.
6// ============================================================================
7// <-- CLI SHELL MODE -->
8s = %s;
9empty = [];
10r = 2;
11R = [1,2;3,4];
12R3(:,:,1) = R;
13R3(:,:,2) = R';
14c = 1 + 2*%i;
15C = [1+2*%i,2+4*%i;3+6*%i,4+8*%i];
16C3(:,:,1) = C;
17C3(:,:,2) = C';
18e = eye();
19ec = (5+%i) * eye();
20p = 1 + %s - %s**2;
21pc = 1 + %s - %s**2 + ( 2 - 3 * %s + 4 * %s**2 ) * %i;
22P = [2*p, 2;4*p,-5*p];
23PC = [2*pc, 2;4*pc,-5*pc];
24SP = sparse([1,2;4,5;3,10],[1,2,3]);
25SPC = sparse([1,2;4,5;3,10],[1,2,3]) * ( 1 + 4*%i);
26SPB = sparse([1,2;2,1],[%t;%t],[2,2]);
27SP1 = sparse([1,1],[10]);
28SPC1 = sparse([1,1],[1]) * ( 2 + 6*%i);
29i8 = int8(-8);
30ui8 = uint8(8);
31I8 = int8([-8 2 ; -24 -32]);
32UI8 = uint8([8 2 ; 24 32]);
33I16 = int16([-16 2 ; -48 -64]);
34UI16 = uint16([16 2 ; 48 64]);
35i16 = int16(-16);
36ui16 = uint16(16);
37i32 = int32(-32);
38ui32 = uint32(32);
39I32 = int32([-32 2 ; -96 -128]);
40UI32 = uint32([32 2 ; 96 128]);
41str = "string";
42STR = ["string1" "string2";"string3" "string4"];
43b = %f;
44B = [%t %f;%f %t];
45assert_checkequal(empty <> empty, %f);
46assert_checkequal(empty <> r, %t);
47assert_checkequal(empty <> c, %t);
48assert_checkequal(empty <> R, %t);
49assert_checkequal(empty <> C, %t);
50assert_checkequal(empty <> e, %t);
51assert_checkequal(empty <> ec, %t);
52assert_checkequal(empty <> p, %t);
53assert_checkequal(empty <> pc, %t);
54assert_checkequal(empty <> P, %t);
55assert_checkequal(empty <> PC, %t);
56assert_checkequal(empty <> SP, %t);
57assert_checkequal(empty <> SPC, %t);
58assert_checkequal(empty <> SP1, %t);
59assert_checkequal(empty <> SPC1, %t);
60assert_checkequal(empty <> i8, %t);
61assert_checkequal(empty <> I8, %t);
62assert_checkequal(empty <> ui8, %t);
63assert_checkequal(empty <> UI8, %t);
64assert_checkequal(empty <> i16, %t);
65assert_checkequal(empty <> I16, %t);
66assert_checkequal(empty <> ui16, %t);
67assert_checkequal(empty <> UI16, %t);
68assert_checkequal(empty <> i32, %t);
69assert_checkequal(empty <> I32, %t);
70assert_checkequal(empty <> ui32, %t);
71assert_checkequal(empty <> UI32, %t);
72assert_checkequal(empty <> str, %t);
73assert_checkequal(empty <> STR, %t);
74assert_checkequal(empty <> b, %t);
75assert_checkequal(empty <> B, %t);
76assert_checkequal(empty <> SPB, %t);
77assert_checkequal(r <> empty, %t);
78assert_checkequal(r <> r, %f);
79assert_checkequal(r <> c, %t);
80assert_checkequal(r <> R, [%t,%f;%t,%t]);
81assert_checkequal(r <> C, [%t,%t;%t,%t]);
82assert_checkequal(r <> e, %t);
83assert_checkequal(r <> ec, %t);
84assert_checkequal(r <> p, %t);
85assert_checkequal(r <> pc, %t);
86assert_checkequal(r <> P, [%t,%f;%t,%t]);
87assert_checkequal(r <> PC, [%t,%f;%t,%t]);
88assert_checkequal(r <> SP, sparse([1,1;1,2;1,3;1,4;1,5;1,6;1,7;1,8;1,9;1,10;2,1;2,2;2,3;2,4;2,5;2,6;2,7;2,8;2,9;2,10;3,1;3,2;3,3;3,4;3,5;3,6;3,7;3,8;3,9;3,10;4,1;4,2;4,3;4,4;4,6;4,7;4,8;4,9;4,10],[%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t],[4,10]));
89assert_checkequal(r <> SPC, sparse([1,1;1,2;1,3;1,4;1,5;1,6;1,7;1,8;1,9;1,10;2,1;2,2;2,3;2,4;2,5;2,6;2,7;2,8;2,9;2,10;3,1;3,2;3,3;3,4;3,5;3,6;3,7;3,8;3,9;3,10;4,1;4,2;4,3;4,4;4,5;4,6;4,7;4,8;4,9;4,10],[%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t],[4,10]));
90assert_checkequal(r <> SP1, sparse([1,1],%t,[1,1]));
91assert_checkequal(r <> SPC1, sparse([1,1],%t,[1,1]));
92assert_checkequal(r <> i8, %t);
93assert_checkequal(r <> I8, [%t,%f;%t,%t]);
94assert_checkequal(r <> ui8, %t);
95assert_checkequal(r <> UI8, [%t,%f;%t,%t]);
96assert_checkequal(r <> i16, %t);
97assert_checkequal(r <> I16, [%t,%f;%t,%t]);
98assert_checkequal(r <> ui16, %t);
99assert_checkequal(r <> UI16, [%t,%f;%t,%t]);
100assert_checkequal(r <> i32, %t);
101assert_checkequal(r <> I32, [%t,%f;%t,%t]);
102assert_checkequal(r <> ui32, %t);
103assert_checkequal(r <> UI32, [%t,%f;%t,%t]);
104assert_checkequal(r <> str, %t);
105assert_checkequal(r <> STR, %t);
106assert_checkequal(r <> b, %t);
107assert_checkequal(r <> B, %t);
108assert_checkequal(r <> SPB, %t);
109assert_checkequal(c <> empty, %t);
110assert_checkequal(c <> r, %t);
111assert_checkequal(c <> c, %f);
112assert_checkequal(c <> R, [%t,%t;%t,%t]);
113assert_checkequal(c <> C, [%f,%t;%t,%t]);
114assert_checkequal(c <> e, %t);
115assert_checkequal(c <> ec, %t);
116assert_checkequal(c <> p, %t);
117assert_checkequal(c <> pc, %t);
118assert_checkequal(c <> P, [%t,%t;%t,%t]);
119assert_checkequal(c <> PC, [%t,%t;%t,%t]);
120assert_checkequal(c <> SP, sparse([1,1;1,2;1,3;1,4;1,5;1,6;1,7;1,8;1,9;1,10;2,1;2,2;2,3;2,4;2,5;2,6;2,7;2,8;2,9;2,10;3,1;3,2;3,3;3,4;3,5;3,6;3,7;3,8;3,9;3,10;4,1;4,2;4,3;4,4;4,5;4,6;4,7;4,8;4,9;4,10],[%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t],[4,10]));
121assert_checkequal(c <> SPC, sparse([1,1;1,2;1,3;1,4;1,5;1,6;1,7;1,8;1,9;1,10;2,1;2,2;2,3;2,4;2,5;2,6;2,7;2,8;2,9;2,10;3,1;3,2;3,3;3,4;3,5;3,6;3,7;3,8;3,9;3,10;4,1;4,2;4,3;4,4;4,5;4,6;4,7;4,8;4,9;4,10],[%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t],[4,10]));
122assert_checkequal(c <> SP1, sparse([1,1],%t,[1,1]));
123assert_checkequal(c <> SPC1, sparse([1,1],%t,[1,1]));
124assert_checkequal(c <> i8, %t);
125assert_checkequal(c <> I8, [%t,%t;%t,%t]);
126assert_checkequal(c <> ui8, %t);
127assert_checkequal(c <> UI8, [%t,%t;%t,%t]);
128assert_checkequal(c <> i16, %t);
129assert_checkequal(c <> I16, [%t,%t;%t,%t]);
130assert_checkequal(c <> ui16, %t);
131assert_checkequal(c <> UI16, [%t,%t;%t,%t]);
132assert_checkequal(c <> i32, %t);
133assert_checkequal(c <> I32, [%t,%t;%t,%t]);
134assert_checkequal(c <> ui32, %t);
135assert_checkequal(c <> UI32, [%t,%t;%t,%t]);
136assert_checkequal(c <> str, %t);
137assert_checkequal(c <> STR, %t);
138assert_checkequal(c <> b, %t);
139assert_checkequal(c <> B, %t);
140assert_checkequal(c <> SPB, %t);
141assert_checkequal(R <> empty, %t);
142assert_checkequal(R <> r, [%t,%f;%t,%t]);
143assert_checkequal(R <> c, [%t,%t;%t,%t]);
144assert_checkequal(R <> R, [%f,%f;%f,%f]);
145assert_checkequal(R <> C, [%t,%t;%t,%t]);
146assert_checkequal(R <> e, [%f,%t;%t,%t]);
147assert_checkequal(R <> ec, [%t,%t;%t,%t]);
148assert_checkequal(R <> p, [%t,%t;%t,%t]);
149assert_checkequal(R <> pc, [%t,%t;%t,%t]);
150assert_checkequal(R <> P, [%t,%f;%t,%t]);
151assert_checkequal(R <> PC, [%t,%f;%t,%t]);
152assert_checkequal(R <> SP, %t);
153assert_checkequal(R <> SPC, %t);
154assert_checkequal(R <> SP1, %t);
155assert_checkequal(R <> SPC1, %t);
156assert_checkequal(R <> i8, [%t,%t;%t,%t]);
157assert_checkequal(R <> I8, [%t,%f;%t,%t]);
158assert_checkequal(R <> ui8, [%t,%t;%t,%t]);
159assert_checkequal(R <> UI8, [%t,%f;%t,%t]);
160assert_checkequal(R <> i16, [%t,%t;%t,%t]);
161assert_checkequal(R <> I16, [%t,%f;%t,%t]);
162assert_checkequal(R <> ui16, [%t,%t;%t,%t]);
163assert_checkequal(R <> UI16, [%t,%f;%t,%t]);
164assert_checkequal(R <> i32, [%t,%t;%t,%t]);
165assert_checkequal(R <> I32, [%t,%f;%t,%t]);
166assert_checkequal(R <> ui32, [%t,%t;%t,%t]);
167assert_checkequal(R <> UI32, [%t,%f;%t,%t]);
168assert_checkequal(R <> str, %t);
169assert_checkequal(R <> STR, %t);
170assert_checkequal(R <> b, %t);
171assert_checkequal(R <> B, %t);
172assert_checkequal(R <> SPB, %t);
173assert_checkequal(C <> empty, %t);
174assert_checkequal(C <> r, [%t,%t;%t,%t]);
175assert_checkequal(C <> c, [%f,%t;%t,%t]);
176assert_checkequal(C <> R, [%t,%t;%t,%t]);
177assert_checkequal(C <> C, [%f,%f;%f,%f]);
178assert_checkequal(C <> e, [%t,%t;%t,%t]);
179assert_checkequal(C <> ec, [%t,%t;%t,%t]);
180assert_checkequal(C <> p, [%t,%t;%t,%t]);
181assert_checkequal(C <> pc, [%t,%t;%t,%t]);
182assert_checkequal(C <> P, [%t,%t;%t,%t]);
183assert_checkequal(C <> PC, [%t,%t;%t,%t]);
184assert_checkequal(C <> SP, %t);
185assert_checkequal(C <> SPC, %t);
186assert_checkequal(C <> SP1, %t);
187assert_checkequal(C <> SPC1, %t);
188assert_checkequal(C <> i8, [%t,%t;%t,%t]);
189assert_checkequal(C <> I8, [%t,%t;%t,%t]);
190assert_checkequal(C <> ui8, [%t,%t;%t,%t]);
191assert_checkequal(C <> UI8, [%t,%t;%t,%t]);
192assert_checkequal(C <> i16, [%t,%t;%t,%t]);
193assert_checkequal(C <> I16, [%t,%t;%t,%t]);
194assert_checkequal(C <> ui16, [%t,%t;%t,%t]);
195assert_checkequal(C <> UI16, [%t,%t;%t,%t]);
196assert_checkequal(C <> i32, [%t,%t;%t,%t]);
197assert_checkequal(C <> I32, [%t,%t;%t,%t]);
198assert_checkequal(C <> ui32, [%t,%t;%t,%t]);
199assert_checkequal(C <> UI32, [%t,%t;%t,%t]);
200assert_checkequal(C <> str, %t);
201assert_checkequal(C <> STR, %t);
202assert_checkequal(C <> b, %t);
203assert_checkequal(C <> B, %t);
204assert_checkequal(C <> SPB, %t);
205assert_checkequal(e <> empty, %t);
206assert_checkequal(e <> r, %t);
207assert_checkequal(e <> c, %t);
208assert_checkequal(e <> R, [%f,%t;%t,%t]);
209assert_checkequal(e <> C, [%t,%t;%t,%t]);
210assert_checkequal(e <> e, %f);
211assert_checkequal(e <> ec, %t);
212assert_checkequal(e <> p, %t);
213assert_checkequal(e <> pc, %t);
214assert_checkequal(e <> P, [%t,%t;%t,%t]);
215assert_checkequal(e <> PC, [%t,%t;%t,%t]);
216assert_checkequal(e <> SP, %t);
217assert_checkequal(e <> SPC, %t);
218assert_checkequal(e <> SP1, %t);
219assert_checkequal(e <> SPC1, %t);
220assert_checkequal(e <> i8, %t);
221assert_checkequal(e <> I8, [%t,%t;%t,%t]);
222assert_checkequal(e <> ui8, %t);
223assert_checkequal(e <> UI8, [%t,%t;%t,%t]);
224assert_checkequal(e <> i16, %t);
225assert_checkequal(e <> I16, [%t,%t;%t,%t]);
226assert_checkequal(e <> ui16, %t);
227assert_checkequal(e <> UI16, [%t,%t;%t,%t]);
228assert_checkequal(e <> i32, %t);
229assert_checkequal(e <> I32, [%t,%t;%t,%t]);
230assert_checkequal(e <> ui32, %t);
231assert_checkequal(e <> UI32, [%t,%t;%t,%t]);
232assert_checkequal(e <> str, %t);
233assert_checkequal(e <> STR, %t);
234assert_checkequal(e <> b, %t);
235assert_checkequal(e <> B, %t);
236assert_checkequal(e <> SPB, %t);
237assert_checkequal(ec <> empty, %t);
238assert_checkequal(ec <> r, %t);
239assert_checkequal(ec <> c, %t);
240assert_checkequal(ec <> R, [%t,%t;%t,%t]);
241assert_checkequal(ec <> C, [%t,%t;%t,%t]);
242assert_checkequal(ec <> e, %t);
243assert_checkequal(ec <> ec, %f);
244assert_checkequal(ec <> p, %t);
245assert_checkequal(ec <> pc, %t);
246assert_checkequal(ec <> P, [%t,%t;%t,%t]);
247assert_checkequal(ec <> PC, [%t,%t;%t,%t]);
248assert_checkequal(ec <> SP, %t);
249assert_checkequal(ec <> SPC, %t);
250assert_checkequal(ec <> SP1, %t);
251assert_checkequal(ec <> SPC1, %t);
252assert_checkequal(ec <> i8, %t);
253assert_checkequal(ec <> I8, [%t,%t;%t,%t]);
254assert_checkequal(ec <> ui8, %t);
255assert_checkequal(ec <> UI8, [%t,%t;%t,%t]);
256assert_checkequal(ec <> i16, %t);
257assert_checkequal(ec <> I16, [%t,%t;%t,%t]);
258assert_checkequal(ec <> ui16, %t);
259assert_checkequal(ec <> UI16, [%t,%t;%t,%t]);
260assert_checkequal(ec <> i32, %t);
261assert_checkequal(ec <> I32, [%t,%t;%t,%t]);
262assert_checkequal(ec <> ui32, %t);
263assert_checkequal(ec <> UI32, [%t,%t;%t,%t]);
264assert_checkequal(ec <> str, %t);
265assert_checkequal(ec <> STR, %t);
266assert_checkequal(ec <> b, %t);
267assert_checkequal(ec <> B, %t);
268assert_checkequal(ec <> SPB, %t);
269assert_checkequal(p <> empty, %t);
270assert_checkequal(p <> r, %t);
271assert_checkequal(p <> c, %t);
272assert_checkequal(p <> R, [%t,%t;%t,%t]);
273assert_checkequal(p <> C, [%t,%t;%t,%t]);
274assert_checkequal(p <> e, %t);
275assert_checkequal(p <> ec, %t);
276assert_checkequal(p <> p, %f);
277assert_checkequal(p <> pc, %t);
278assert_checkequal(p <> P, [%t,%t;%t,%t]);
279assert_checkequal(p <> PC, [%t,%t;%t,%t]);
280assert_checkequal(p <> i8, %t);
281assert_checkequal(p <> I8, [%t,%t;%t,%t]);
282assert_checkequal(p <> ui8, %t);
283assert_checkequal(p <> UI8, [%t,%t;%t,%t]);
284assert_checkequal(p <> i16, %t);
285assert_checkequal(p <> I16, [%t,%t;%t,%t]);
286assert_checkequal(p <> ui16, %t);
287assert_checkequal(p <> UI16, [%t,%t;%t,%t]);
288assert_checkequal(p <> i32, %t);
289assert_checkequal(p <> I32, [%t,%t;%t,%t]);
290assert_checkequal(p <> ui32, %t);
291assert_checkequal(p <> UI32, [%t,%t;%t,%t]);
292assert_checkequal(p <> str, %t);
293assert_checkequal(p <> STR, %t);
294assert_checkequal(p <> b, %t);
295assert_checkequal(p <> B, %t);
296assert_checkequal(pc <> empty, %t);
297assert_checkequal(pc <> r, %t);
298assert_checkequal(pc <> c, %t);
299assert_checkequal(pc <> R, [%t,%t;%t,%t]);
300assert_checkequal(pc <> C, [%t,%t;%t,%t]);
301assert_checkequal(pc <> e, %t);
302assert_checkequal(pc <> ec, %t);
303assert_checkequal(pc <> p, %t);
304assert_checkequal(pc <> pc, %f);
305assert_checkequal(pc <> P, [%t,%t;%t,%t]);
306assert_checkequal(pc <> PC, [%t,%t;%t,%t]);
307assert_checkequal(pc <> i8, %t);
308assert_checkequal(pc <> I8, [%t,%t;%t,%t]);
309assert_checkequal(pc <> ui8, %t);
310assert_checkequal(pc <> UI8, [%t,%t;%t,%t]);
311assert_checkequal(pc <> i16, %t);
312assert_checkequal(pc <> I16, [%t,%t;%t,%t]);
313assert_checkequal(pc <> ui16, %t);
314assert_checkequal(pc <> UI16, [%t,%t;%t,%t]);
315assert_checkequal(pc <> i32, %t);
316assert_checkequal(pc <> I32, [%t,%t;%t,%t]);
317assert_checkequal(pc <> ui32, %t);
318assert_checkequal(pc <> UI32, [%t,%t;%t,%t]);
319assert_checkequal(pc <> str, %t);
320assert_checkequal(pc <> STR, %t);
321assert_checkequal(pc <> b, %t);
322assert_checkequal(pc <> B, %t);
323assert_checkequal(P <> empty, %t);
324assert_checkequal(P <> r, [%t,%f;%t,%t]);
325assert_checkequal(P <> c, [%t,%t;%t,%t]);
326assert_checkequal(P <> R, [%t,%f;%t,%t]);
327assert_checkequal(P <> C, [%t,%t;%t,%t]);
328assert_checkequal(P <> e, [%t,%t;%t,%t]);
329assert_checkequal(P <> ec, [%t,%t;%t,%t]);
330assert_checkequal(P <> p, [%t,%t;%t,%t]);
331assert_checkequal(P <> pc, [%t,%t;%t,%t]);
332assert_checkequal(P <> P, [%f,%f;%f,%f]);
333assert_checkequal(P <> PC, [%t,%f;%t,%t]);
334assert_checkequal(P <> i8, [%t,%t;%t,%t]);
335assert_checkequal(P <> I8, [%t,%f;%t,%t]);
336assert_checkequal(P <> ui8, [%t,%t;%t,%t]);
337assert_checkequal(P <> UI8, [%t,%f;%t,%t]);
338assert_checkequal(P <> i16, [%t,%t;%t,%t]);
339assert_checkequal(P <> I16, [%t,%f;%t,%t]);
340assert_checkequal(P <> ui16, [%t,%t;%t,%t]);
341assert_checkequal(P <> UI16, [%t,%f;%t,%t]);
342assert_checkequal(P <> i32, [%t,%t;%t,%t]);
343assert_checkequal(P <> I32, [%t,%f;%t,%t]);
344assert_checkequal(P <> ui32, [%t,%t;%t,%t]);
345assert_checkequal(P <> UI32, [%t,%f;%t,%t]);
346assert_checkequal(P <> str, %t);
347assert_checkequal(P <> STR, %t);
348assert_checkequal(P <> b, %t);
349assert_checkequal(P <> B, %t);
350assert_checkequal(PC <> empty, %t);
351assert_checkequal(PC <> r, [%t,%f;%t,%t]);
352assert_checkequal(PC <> c, [%t,%t;%t,%t]);
353assert_checkequal(PC <> R, [%t,%f;%t,%t]);
354assert_checkequal(PC <> C, [%t,%t;%t,%t]);
355assert_checkequal(PC <> e, [%t,%t;%t,%t]);
356assert_checkequal(PC <> ec, [%t,%t;%t,%t]);
357assert_checkequal(PC <> p, [%t,%t;%t,%t]);
358assert_checkequal(PC <> pc, [%t,%t;%t,%t]);
359assert_checkequal(PC <> P, [%t,%f;%t,%t]);
360assert_checkequal(PC <> PC, [%f,%f;%f,%f]);
361assert_checkequal(PC <> i8, [%t,%t;%t,%t]);
362assert_checkequal(PC <> I8, [%t,%f;%t,%t]);
363assert_checkequal(PC <> ui8, [%t,%t;%t,%t]);
364assert_checkequal(PC <> UI8, [%t,%f;%t,%t]);
365assert_checkequal(PC <> i16, [%t,%t;%t,%t]);
366assert_checkequal(PC <> I16, [%t,%f;%t,%t]);
367assert_checkequal(PC <> ui16, [%t,%t;%t,%t]);
368assert_checkequal(PC <> UI16, [%t,%f;%t,%t]);
369assert_checkequal(PC <> i32, [%t,%t;%t,%t]);
370assert_checkequal(PC <> I32, [%t,%f;%t,%t]);
371assert_checkequal(PC <> ui32, [%t,%t;%t,%t]);
372assert_checkequal(PC <> UI32, [%t,%f;%t,%t]);
373assert_checkequal(PC <> str, %t);
374assert_checkequal(PC <> STR, %t);
375assert_checkequal(PC <> b, %t);
376assert_checkequal(PC <> B, %t);
377assert_checkequal(SP <> empty, %t);
378assert_checkequal(SP <> r, sparse([1,1;1,2;1,3;1,4;1,5;1,6;1,7;1,8;1,9;1,10;2,1;2,2;2,3;2,4;2,5;2,6;2,7;2,8;2,9;2,10;3,1;3,2;3,3;3,4;3,5;3,6;3,7;3,8;3,9;3,10;4,1;4,2;4,3;4,4;4,6;4,7;4,8;4,9;4,10],[%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t],[4,10]));
379assert_checkequal(SP <> c, sparse([1,1;1,2;1,3;1,4;1,5;1,6;1,7;1,8;1,9;1,10;2,1;2,2;2,3;2,4;2,5;2,6;2,7;2,8;2,9;2,10;3,1;3,2;3,3;3,4;3,5;3,6;3,7;3,8;3,9;3,10;4,1;4,2;4,3;4,4;4,5;4,6;4,7;4,8;4,9;4,10],[%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t],[4,10]));
380assert_checkequal(SP <> R, %t);
381assert_checkequal(SP <> C, %t);
382assert_checkequal(SP <> e, %t);
383assert_checkequal(SP <> ec, %t);
384assert_checkequal(SP <> SP, sparse([1,1],[%f],[4,10]));
385assert_checkequal(SP <> SPC, sparse([1,2;3,10;4,5],[%t;%t;%t],[4,10]));
386assert_checkequal(SP <> SP1, sparse([1,1;1,2;1,3;1,4;1,5;1,6;1,7;1,8;1,9;1,10;2,1;2,2;2,3;2,4;2,5;2,6;2,7;2,8;2,9;2,10;3,1;3,2;3,3;3,4;3,5;3,6;3,7;3,8;3,9;3,10;4,1;4,2;4,3;4,4;4,5;4,6;4,7;4,8;4,9;4,10],[%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t],[4,10]));
387assert_checkequal(SP <> SPC1, sparse([1,1;1,2;1,3;1,4;1,5;1,6;1,7;1,8;1,9;1,10;2,1;2,2;2,3;2,4;2,5;2,6;2,7;2,8;2,9;2,10;3,1;3,2;3,3;3,4;3,5;3,6;3,7;3,8;3,9;3,10;4,1;4,2;4,3;4,4;4,5;4,6;4,7;4,8;4,9;4,10],[%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t],[4,10]));
388assert_checkequal(SP <> i8, sparse([1,1;1,2;1,3;1,4;1,5;1,6;1,7;1,8;1,9;1,10;2,1;2,2;2,3;2,4;2,5;2,6;2,7;2,8;2,9;2,10;3,1;3,2;3,3;3,4;3,5;3,6;3,7;3,8;3,9;3,10;4,1;4,2;4,3;4,4;4,5;4,6;4,7;4,8;4,9;4,10],[%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t],[4,10]));
389assert_checkequal(SP <> I8, %t);
390assert_checkequal(SP <> ui8, sparse([1,1;1,2;1,3;1,4;1,5;1,6;1,7;1,8;1,9;1,10;2,1;2,2;2,3;2,4;2,5;2,6;2,7;2,8;2,9;2,10;3,1;3,2;3,3;3,4;3,5;3,6;3,7;3,8;3,9;3,10;4,1;4,2;4,3;4,4;4,5;4,6;4,7;4,8;4,9;4,10],[%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t],[4,10]));
391assert_checkequal(SP <> UI8, %t);
392assert_checkequal(SP <> i16, sparse([1,1;1,2;1,3;1,4;1,5;1,6;1,7;1,8;1,9;1,10;2,1;2,2;2,3;2,4;2,5;2,6;2,7;2,8;2,9;2,10;3,1;3,2;3,3;3,4;3,5;3,6;3,7;3,8;3,9;3,10;4,1;4,2;4,3;4,4;4,5;4,6;4,7;4,8;4,9;4,10],[%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t],[4,10]));
393assert_checkequal(SP <> I16, %t);
394assert_checkequal(SP <> ui16, sparse([1,1;1,2;1,3;1,4;1,5;1,6;1,7;1,8;1,9;1,10;2,1;2,2;2,3;2,4;2,5;2,6;2,7;2,8;2,9;2,10;3,1;3,2;3,3;3,4;3,5;3,6;3,7;3,8;3,9;3,10;4,1;4,2;4,3;4,4;4,5;4,6;4,7;4,8;4,9;4,10],[%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t],[4,10]));
395assert_checkequal(SP <> UI16, %t);
396assert_checkequal(SP <> i32, sparse([1,1;1,2;1,3;1,4;1,5;1,6;1,7;1,8;1,9;1,10;2,1;2,2;2,3;2,4;2,5;2,6;2,7;2,8;2,9;2,10;3,1;3,2;3,3;3,4;3,5;3,6;3,7;3,8;3,9;3,10;4,1;4,2;4,3;4,4;4,5;4,6;4,7;4,8;4,9;4,10],[%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t],[4,10]));
397assert_checkequal(SP <> I32, %t);
398assert_checkequal(SP <> ui32, sparse([1,1;1,2;1,3;1,4;1,5;1,6;1,7;1,8;1,9;1,10;2,1;2,2;2,3;2,4;2,5;2,6;2,7;2,8;2,9;2,10;3,1;3,2;3,3;3,4;3,5;3,6;3,7;3,8;3,9;3,10;4,1;4,2;4,3;4,4;4,5;4,6;4,7;4,8;4,9;4,10],[%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t],[4,10]));
399assert_checkequal(SP <> UI32, %t);
400assert_checkequal(SP <> str, %t);
401assert_checkequal(SP <> STR, %t);
402assert_checkequal(SP <> b, %t);
403assert_checkequal(SP <> B, %t);
404assert_checkequal(SP <> SPB, %t);
405assert_checkequal(SPC <> empty, %t);
406assert_checkequal(SPC <> r, sparse([1,1;1,2;1,3;1,4;1,5;1,6;1,7;1,8;1,9;1,10;2,1;2,2;2,3;2,4;2,5;2,6;2,7;2,8;2,9;2,10;3,1;3,2;3,3;3,4;3,5;3,6;3,7;3,8;3,9;3,10;4,1;4,2;4,3;4,4;4,5;4,6;4,7;4,8;4,9;4,10],[%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t],[4,10]));
407assert_checkequal(SPC <> c, sparse([1,1;1,2;1,3;1,4;1,5;1,6;1,7;1,8;1,9;1,10;2,1;2,2;2,3;2,4;2,5;2,6;2,7;2,8;2,9;2,10;3,1;3,2;3,3;3,4;3,5;3,6;3,7;3,8;3,9;3,10;4,1;4,2;4,3;4,4;4,5;4,6;4,7;4,8;4,9;4,10],[%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t],[4,10]));
408assert_checkequal(SPC <> R, %t);
409assert_checkequal(SPC <> C, %t);
410assert_checkequal(SPC <> e, %t);
411assert_checkequal(SPC <> ec, %t);
412assert_checkequal(SPC <> SP, sparse([1,2;3,10;4,5],[%t;%t;%t],[4,10]));
413assert_checkequal(SPC <> SPC, sparse([1,1],[%f],[4,10]));
414assert_checkequal(SPC <> SP1, sparse([1,1;1,2;1,3;1,4;1,5;1,6;1,7;1,8;1,9;1,10;2,1;2,2;2,3;2,4;2,5;2,6;2,7;2,8;2,9;2,10;3,1;3,2;3,3;3,4;3,5;3,6;3,7;3,8;3,9;3,10;4,1;4,2;4,3;4,4;4,5;4,6;4,7;4,8;4,9;4,10],[%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t],[4,10]));
415assert_checkequal(SPC <> SPC1, sparse([1,1;1,2;1,3;1,4;1,5;1,6;1,7;1,8;1,9;1,10;2,1;2,2;2,3;2,4;2,5;2,6;2,7;2,8;2,9;2,10;3,1;3,2;3,3;3,4;3,5;3,6;3,7;3,8;3,9;3,10;4,1;4,2;4,3;4,4;4,5;4,6;4,7;4,8;4,9;4,10],[%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t],[4,10]));
416assert_checkequal(SPC <> i8, sparse([1,1;1,2;1,3;1,4;1,5;1,6;1,7;1,8;1,9;1,10;2,1;2,2;2,3;2,4;2,5;2,6;2,7;2,8;2,9;2,10;3,1;3,2;3,3;3,4;3,5;3,6;3,7;3,8;3,9;3,10;4,1;4,2;4,3;4,4;4,5;4,6;4,7;4,8;4,9;4,10],[%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t],[4,10]));
417assert_checkequal(SPC <> I8, %t);
418assert_checkequal(SPC <> ui8, sparse([1,1;1,2;1,3;1,4;1,5;1,6;1,7;1,8;1,9;1,10;2,1;2,2;2,3;2,4;2,5;2,6;2,7;2,8;2,9;2,10;3,1;3,2;3,3;3,4;3,5;3,6;3,7;3,8;3,9;3,10;4,1;4,2;4,3;4,4;4,5;4,6;4,7;4,8;4,9;4,10],[%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t],[4,10]));
419assert_checkequal(SPC <> UI8, %t);
420assert_checkequal(SPC <> i16, sparse([1,1;1,2;1,3;1,4;1,5;1,6;1,7;1,8;1,9;1,10;2,1;2,2;2,3;2,4;2,5;2,6;2,7;2,8;2,9;2,10;3,1;3,2;3,3;3,4;3,5;3,6;3,7;3,8;3,9;3,10;4,1;4,2;4,3;4,4;4,5;4,6;4,7;4,8;4,9;4,10],[%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t],[4,10]));
421assert_checkequal(SPC <> I16, %t);
422assert_checkequal(SPC <> ui16, sparse([1,1;1,2;1,3;1,4;1,5;1,6;1,7;1,8;1,9;1,10;2,1;2,2;2,3;2,4;2,5;2,6;2,7;2,8;2,9;2,10;3,1;3,2;3,3;3,4;3,5;3,6;3,7;3,8;3,9;3,10;4,1;4,2;4,3;4,4;4,5;4,6;4,7;4,8;4,9;4,10],[%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t],[4,10]));
423assert_checkequal(SPC <> UI16, %t);
424assert_checkequal(SPC <> i32, sparse([1,1;1,2;1,3;1,4;1,5;1,6;1,7;1,8;1,9;1,10;2,1;2,2;2,3;2,4;2,5;2,6;2,7;2,8;2,9;2,10;3,1;3,2;3,3;3,4;3,5;3,6;3,7;3,8;3,9;3,10;4,1;4,2;4,3;4,4;4,5;4,6;4,7;4,8;4,9;4,10],[%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t],[4,10]));
425assert_checkequal(SPC <> I32, %t);
426assert_checkequal(SPC <> ui32, sparse([1,1;1,2;1,3;1,4;1,5;1,6;1,7;1,8;1,9;1,10;2,1;2,2;2,3;2,4;2,5;2,6;2,7;2,8;2,9;2,10;3,1;3,2;3,3;3,4;3,5;3,6;3,7;3,8;3,9;3,10;4,1;4,2;4,3;4,4;4,5;4,6;4,7;4,8;4,9;4,10],[%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t],[4,10]));
427assert_checkequal(SPC <> UI32, %t);
428assert_checkequal(SPC <> str, %t);
429assert_checkequal(SPC <> STR, %t);
430assert_checkequal(SPC <> b, %t);
431assert_checkequal(SPC <> B, %t);
432assert_checkequal(SPC <> SPB, %t);
433assert_checkequal(SP1 <> empty, %t);
434assert_checkequal(SP1 <> r, sparse([1,1],%t,[1,1]));
435assert_checkequal(SP1 <> c, sparse([1,1],%t,[1,1]));
436assert_checkequal(SP1 <> R, %t);
437assert_checkequal(SP1 <> C, %t);
438assert_checkequal(SP1 <> e, %t);
439assert_checkequal(SP1 <> ec, %t);
440assert_checkequal(SP1 <> SP, sparse([1,1;1,2;1,3;1,4;1,5;1,6;1,7;1,8;1,9;1,10;2,1;2,2;2,3;2,4;2,5;2,6;2,7;2,8;2,9;2,10;3,1;3,2;3,3;3,4;3,5;3,6;3,7;3,8;3,9;3,10;4,1;4,2;4,3;4,4;4,5;4,6;4,7;4,8;4,9;4,10],[%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t],[4,10]));
441assert_checkequal(SP1 <> SPC, sparse([1,1;1,2;1,3;1,4;1,5;1,6;1,7;1,8;1,9;1,10;2,1;2,2;2,3;2,4;2,5;2,6;2,7;2,8;2,9;2,10;3,1;3,2;3,3;3,4;3,5;3,6;3,7;3,8;3,9;3,10;4,1;4,2;4,3;4,4;4,5;4,6;4,7;4,8;4,9;4,10],[%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t],[4,10]));
442assert_checkequal(SP1 <> SP1, sparse([1,1],[%f],[1,1]));
443assert_checkequal(SP1 <> SPC1, sparse([1,1],%t,[1,1]));
444assert_checkequal(SP1 <> i8, sparse([1,1],%t,[1,1]));
445assert_checkequal(SP1 <> I8, %t);
446assert_checkequal(SP1 <> ui8, sparse([1,1],%t,[1,1]));
447assert_checkequal(SP1 <> UI8, %t);
448assert_checkequal(SP1 <> i16, sparse([1,1],%t,[1,1]));
449assert_checkequal(SP1 <> I16, %t);
450assert_checkequal(SP1 <> ui16, sparse([1,1],%t,[1,1]));
451assert_checkequal(SP1 <> UI16, %t);
452assert_checkequal(SP1 <> i32, sparse([1,1],%t,[1,1]));
453assert_checkequal(SP1 <> I32, %t);
454assert_checkequal(SP1 <> ui32, sparse([1,1],%t,[1,1]));
455assert_checkequal(SP1 <> UI32, %t);
456assert_checkequal(SP1 <> str, %t);
457assert_checkequal(SP1 <> STR, %t);
458assert_checkequal(SP1 <> b, %t);
459assert_checkequal(SP1 <> B, %t);
460assert_checkequal(SP1 <> SPB, %t);
461assert_checkequal(SPC1 <> empty, %t);
462assert_checkequal(SPC1 <> r, sparse([1,1],%t,[1,1]));
463assert_checkequal(SPC1 <> c, sparse([1,1],%t,[1,1]));
464assert_checkequal(SPC1 <> R, %t);
465assert_checkequal(SPC1 <> C, %t);
466assert_checkequal(SPC1 <> e, %t);
467assert_checkequal(SPC1 <> ec, %t);
468assert_checkequal(SPC1 <> SP, sparse([1,1;1,2;1,3;1,4;1,5;1,6;1,7;1,8;1,9;1,10;2,1;2,2;2,3;2,4;2,5;2,6;2,7;2,8;2,9;2,10;3,1;3,2;3,3;3,4;3,5;3,6;3,7;3,8;3,9;3,10;4,1;4,2;4,3;4,4;4,5;4,6;4,7;4,8;4,9;4,10],[%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t],[4,10]));
469assert_checkequal(SPC1 <> SPC, sparse([1,1;1,2;1,3;1,4;1,5;1,6;1,7;1,8;1,9;1,10;2,1;2,2;2,3;2,4;2,5;2,6;2,7;2,8;2,9;2,10;3,1;3,2;3,3;3,4;3,5;3,6;3,7;3,8;3,9;3,10;4,1;4,2;4,3;4,4;4,5;4,6;4,7;4,8;4,9;4,10],[%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t],[4,10]));
470assert_checkequal(SPC1 <> SP1, sparse([1,1],%t,[1,1]));
471assert_checkequal(SPC1 <> SPC1, sparse([1,1],[%f],[1,1]));
472assert_checkequal(SPC1 <> i8, sparse([1,1],%t,[1,1]));
473assert_checkequal(SPC1 <> I8, %t);
474assert_checkequal(SPC1 <> ui8, sparse([1,1],%t,[1,1]));
475assert_checkequal(SPC1 <> UI8, %t);
476assert_checkequal(SPC1 <> i16, sparse([1,1],%t,[1,1]));
477assert_checkequal(SPC1 <> I16, %t);
478assert_checkequal(SPC1 <> ui16, sparse([1,1],%t,[1,1]));
479assert_checkequal(SPC1 <> UI16, %t);
480assert_checkequal(SPC1 <> i32, sparse([1,1],%t,[1,1]));
481assert_checkequal(SPC1 <> I32, %t);
482assert_checkequal(SPC1 <> ui32, sparse([1,1],%t,[1,1]));
483assert_checkequal(SPC1 <> UI32, %t);
484assert_checkequal(SPC1 <> str, %t);
485assert_checkequal(SPC1 <> STR, %t);
486assert_checkequal(SPC1 <> b, %t);
487assert_checkequal(SPC1 <> B, %t);
488assert_checkequal(SPC1 <> SPB, %t);
489assert_checkequal(i8 <> empty, %t);
490assert_checkequal(i8 <> r, %t);
491assert_checkequal(i8 <> c, %t);
492assert_checkequal(i8 <> R, [%t,%t;%t,%t]);
493assert_checkequal(i8 <> C, [%t,%t;%t,%t]);
494assert_checkequal(i8 <> e, %t);
495assert_checkequal(i8 <> ec, %t);
496assert_checkequal(i8 <> p, %t);
497assert_checkequal(i8 <> pc, %t);
498assert_checkequal(i8 <> P, [%t,%t;%t,%t]);
499assert_checkequal(i8 <> PC, [%t,%t;%t,%t]);
500assert_checkequal(i8 <> SP, sparse([1,1;1,2;1,3;1,4;1,5;1,6;1,7;1,8;1,9;1,10;2,1;2,2;2,3;2,4;2,5;2,6;2,7;2,8;2,9;2,10;3,1;3,2;3,3;3,4;3,5;3,6;3,7;3,8;3,9;3,10;4,1;4,2;4,3;4,4;4,5;4,6;4,7;4,8;4,9;4,10],[%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t],[4,10]));
501assert_checkequal(i8 <> SPC, sparse([1,1;1,2;1,3;1,4;1,5;1,6;1,7;1,8;1,9;1,10;2,1;2,2;2,3;2,4;2,5;2,6;2,7;2,8;2,9;2,10;3,1;3,2;3,3;3,4;3,5;3,6;3,7;3,8;3,9;3,10;4,1;4,2;4,3;4,4;4,5;4,6;4,7;4,8;4,9;4,10],[%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t],[4,10]));
502assert_checkequal(i8 <> SP1, sparse([1,1],%t,[1,1]));
503assert_checkequal(i8 <> SPC1, sparse([1,1],%t,[1,1]));
504assert_checkequal(i8 <> i8, %f);
505assert_checkequal(i8 <> I8, [%f,%t;%t,%t]);
506assert_checkequal(i8 <> ui8, %t);
507assert_checkequal(i8 <> UI8, [%t,%t;%t,%t]);
508assert_checkequal(i8 <> i16, %t);
509assert_checkequal(i8 <> I16, [%t,%t;%t,%t]);
510assert_checkequal(i8 <> ui16, %t);
511assert_checkequal(i8 <> UI16, [%t,%t;%t,%t]);
512assert_checkequal(i8 <> i32, %t);
513assert_checkequal(i8 <> I32, [%t,%t;%t,%t]);
514assert_checkequal(i8 <> ui32, %t);
515assert_checkequal(i8 <> UI32, [%t,%t;%t,%t]);
516assert_checkequal(i8 <> str, %t);
517assert_checkequal(i8 <> STR, %t);
518assert_checkequal(i8 <> b, %t);
519assert_checkequal(i8 <> B, [%t,%t;%t,%t]);
520assert_checkequal(i8 <> SPB, %t);
521assert_checkequal(I8 <> empty, %t);
522assert_checkequal(I8 <> r, [%t,%f;%t,%t]);
523assert_checkequal(I8 <> c, [%t,%t;%t,%t]);
524assert_checkequal(I8 <> R, [%t,%f;%t,%t]);
525assert_checkequal(I8 <> C, [%t,%t;%t,%t]);
526assert_checkequal(I8 <> e, [%t,%t;%t,%t]);
527assert_checkequal(I8 <> ec, [%t,%t;%t,%t]);
528assert_checkequal(I8 <> p, [%t,%t;%t,%t]);
529assert_checkequal(I8 <> pc, [%t,%t;%t,%t]);
530assert_checkequal(I8 <> P, [%t,%f;%t,%t]);
531assert_checkequal(I8 <> PC, [%t,%f;%t,%t]);
532assert_checkequal(I8 <> SP, %t);
533assert_checkequal(I8 <> SPC, %t);
534assert_checkequal(I8 <> SP1, %t);
535assert_checkequal(I8 <> SPC1, %t);
536assert_checkequal(I8 <> i8, [%f,%t;%t,%t]);
537assert_checkequal(I8 <> I8, [%f,%f;%f,%f]);
538assert_checkequal(I8 <> ui8, [%t,%t;%t,%t]);
539assert_checkequal(I8 <> UI8, [%t,%f;%t,%t]);
540assert_checkequal(I8 <> i16, [%t,%t;%t,%t]);
541assert_checkequal(I8 <> I16, [%t,%f;%t,%t]);
542assert_checkequal(I8 <> ui16, [%t,%t;%t,%t]);
543assert_checkequal(I8 <> UI16, [%t,%f;%t,%t]);
544assert_checkequal(I8 <> i32, [%t,%t;%t,%f]);
545assert_checkequal(I8 <> I32, [%t,%f;%t,%t]);
546assert_checkequal(I8 <> ui32, [%t,%t;%t,%t]);
547assert_checkequal(I8 <> UI32, [%t,%f;%t,%t]);
548assert_checkequal(I8 <> str, %t);
549assert_checkequal(I8 <> STR, %t);
550assert_checkequal(I8 <> b, [%t,%t;%t,%t]);
551assert_checkequal(I8 <> B, [%t,%t;%t,%t]);
552assert_checkequal(I8 <> SPB, %t);
553assert_checkequal(ui8 <> empty, %t);
554assert_checkequal(ui8 <> r, %t);
555assert_checkequal(ui8 <> c, %t);
556assert_checkequal(ui8 <> R, [%t,%t;%t,%t]);
557assert_checkequal(ui8 <> C, [%t,%t;%t,%t]);
558assert_checkequal(ui8 <> e, %t);
559assert_checkequal(ui8 <> ec, %t);
560assert_checkequal(ui8 <> p, %t);
561assert_checkequal(ui8 <> pc, %t);
562assert_checkequal(ui8 <> P, [%t,%t;%t,%t]);
563assert_checkequal(ui8 <> PC, [%t,%t;%t,%t]);
564assert_checkequal(ui8 <> SP, sparse([1,1;1,2;1,3;1,4;1,5;1,6;1,7;1,8;1,9;1,10;2,1;2,2;2,3;2,4;2,5;2,6;2,7;2,8;2,9;2,10;3,1;3,2;3,3;3,4;3,5;3,6;3,7;3,8;3,9;3,10;4,1;4,2;4,3;4,4;4,5;4,6;4,7;4,8;4,9;4,10],[%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t],[4,10]));
565assert_checkequal(ui8 <> SPC, sparse([1,1;1,2;1,3;1,4;1,5;1,6;1,7;1,8;1,9;1,10;2,1;2,2;2,3;2,4;2,5;2,6;2,7;2,8;2,9;2,10;3,1;3,2;3,3;3,4;3,5;3,6;3,7;3,8;3,9;3,10;4,1;4,2;4,3;4,4;4,5;4,6;4,7;4,8;4,9;4,10],[%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t],[4,10]));
566assert_checkequal(ui8 <> SP1, sparse([1,1],%t,[1,1]));
567assert_checkequal(ui8 <> SPC1, sparse([1,1],%t,[1,1]));
568assert_checkequal(ui8 <> i8, %t);
569assert_checkequal(ui8 <> I8, [%t,%t;%t,%t]);
570assert_checkequal(ui8 <> ui8, %f);
571assert_checkequal(ui8 <> UI8, [%f,%t;%t,%t]);
572assert_checkequal(ui8 <> i16, %t);
573assert_checkequal(ui8 <> I16, [%t,%t;%t,%t]);
574assert_checkequal(ui8 <> ui16, %t);
575assert_checkequal(ui8 <> UI16, [%t,%t;%t,%t]);
576assert_checkequal(ui8 <> i32, %t);
577assert_checkequal(ui8 <> I32, [%t,%t;%t,%t]);
578assert_checkequal(ui8 <> ui32, %t);
579assert_checkequal(ui8 <> UI32, [%t,%t;%t,%t]);
580assert_checkequal(ui8 <> str, %t);
581assert_checkequal(ui8 <> STR, %t);
582assert_checkequal(ui8 <> b, %t);
583assert_checkequal(ui8 <> B, [%t,%t;%t,%t]);
584assert_checkequal(ui8 <> SPB, %t);
585assert_checkequal(UI8 <> empty, %t);
586assert_checkequal(UI8 <> r, [%t,%f;%t,%t]);
587assert_checkequal(UI8 <> c, [%t,%t;%t,%t]);
588assert_checkequal(UI8 <> R, [%t,%f;%t,%t]);
589assert_checkequal(UI8 <> C, [%t,%t;%t,%t]);
590assert_checkequal(UI8 <> e, [%t,%t;%t,%t]);
591assert_checkequal(UI8 <> ec, [%t,%t;%t,%t]);
592assert_checkequal(UI8 <> p, [%t,%t;%t,%t]);
593assert_checkequal(UI8 <> pc, [%t,%t;%t,%t]);
594assert_checkequal(UI8 <> P, [%t,%f;%t,%t]);
595assert_checkequal(UI8 <> PC, [%t,%f;%t,%t]);
596assert_checkequal(UI8 <> SP, %t);
597assert_checkequal(UI8 <> SPC, %t);
598assert_checkequal(UI8 <> SP1, %t);
599assert_checkequal(UI8 <> SPC1, %t);
600assert_checkequal(UI8 <> i8, [%t,%t;%t,%t]);
601assert_checkequal(UI8 <> I8, [%t,%f;%t,%t]);
602assert_checkequal(UI8 <> ui8, [%f,%t;%t,%t]);
603assert_checkequal(UI8 <> UI8, [%f,%f;%f,%f]);
604assert_checkequal(UI8 <> i16, [%t,%t;%t,%t]);
605assert_checkequal(UI8 <> I16, [%t,%f;%t,%t]);
606assert_checkequal(UI8 <> ui16, [%t,%t;%t,%t]);
607assert_checkequal(UI8 <> UI16, [%t,%f;%t,%t]);
608assert_checkequal(UI8 <> i32, [%t,%t;%t,%t]);
609assert_checkequal(UI8 <> I32, [%t,%f;%t,%t]);
610assert_checkequal(UI8 <> ui32, [%t,%t;%t,%f]);
611assert_checkequal(UI8 <> UI32, [%t,%f;%t,%t]);
612assert_checkequal(UI8 <> str, %t);
613assert_checkequal(UI8 <> STR, %t);
614assert_checkequal(UI8 <> b, [%t,%t;%t,%t]);
615assert_checkequal(UI8 <> B, [%t,%t;%t,%t]);
616assert_checkequal(UI8 <> SPB, %t);
617assert_checkequal(i16 <> empty, %t);
618assert_checkequal(i16 <> r, %t);
619assert_checkequal(i16 <> c, %t);
620assert_checkequal(i16 <> R, [%t,%t;%t,%t]);
621assert_checkequal(i16 <> C, [%t,%t;%t,%t]);
622assert_checkequal(i16 <> e, %t);
623assert_checkequal(i16 <> ec, %t);
624assert_checkequal(i16 <> p, %t);
625assert_checkequal(i16 <> pc, %t);
626assert_checkequal(i16 <> P, [%t,%t;%t,%t]);
627assert_checkequal(i16 <> PC, [%t,%t;%t,%t]);
628assert_checkequal(i16 <> SP, sparse([1,1;1,2;1,3;1,4;1,5;1,6;1,7;1,8;1,9;1,10;2,1;2,2;2,3;2,4;2,5;2,6;2,7;2,8;2,9;2,10;3,1;3,2;3,3;3,4;3,5;3,6;3,7;3,8;3,9;3,10;4,1;4,2;4,3;4,4;4,5;4,6;4,7;4,8;4,9;4,10],[%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t],[4,10]));
629assert_checkequal(i16 <> SPC, sparse([1,1;1,2;1,3;1,4;1,5;1,6;1,7;1,8;1,9;1,10;2,1;2,2;2,3;2,4;2,5;2,6;2,7;2,8;2,9;2,10;3,1;3,2;3,3;3,4;3,5;3,6;3,7;3,8;3,9;3,10;4,1;4,2;4,3;4,4;4,5;4,6;4,7;4,8;4,9;4,10],[%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t],[4,10]));
630assert_checkequal(i16 <> SP1, sparse([1,1],%t,[1,1]));
631assert_checkequal(i16 <> SPC1, sparse([1,1],%t,[1,1]));
632assert_checkequal(i16 <> i8, %t);
633assert_checkequal(i16 <> I8, [%t,%t;%t,%t]);
634assert_checkequal(i16 <> ui8, %t);
635assert_checkequal(i16 <> UI8, [%t,%t;%t,%t]);
636assert_checkequal(i16 <> i16, %f);
637assert_checkequal(i16 <> I16, [%f,%t;%t,%t]);
638assert_checkequal(i16 <> ui16, %t);
639assert_checkequal(i16 <> UI16, [%t,%t;%t,%t]);
640assert_checkequal(i16 <> i32, %t);
641assert_checkequal(i16 <> I32, [%t,%t;%t,%t]);
642assert_checkequal(i16 <> ui32, %t);
643assert_checkequal(i16 <> UI32, [%t,%t;%t,%t]);
644assert_checkequal(i16 <> str, %t);
645assert_checkequal(i16 <> STR, %t);
646assert_checkequal(i16 <> b, %t);
647assert_checkequal(i16 <> B, [%t,%t;%t,%t]);
648assert_checkequal(i16 <> SPB, %t);
649assert_checkequal(I16 <> empty, %t);
650assert_checkequal(I16 <> r, [%t,%f;%t,%t]);
651assert_checkequal(I16 <> c, [%t,%t;%t,%t]);
652assert_checkequal(I16 <> R, [%t,%f;%t,%t]);
653assert_checkequal(I16 <> C, [%t,%t;%t,%t]);
654assert_checkequal(I16 <> e, [%t,%t;%t,%t]);
655assert_checkequal(I16 <> ec, [%t,%t;%t,%t]);
656assert_checkequal(I16 <> p, [%t,%t;%t,%t]);
657assert_checkequal(I16 <> pc, [%t,%t;%t,%t]);
658assert_checkequal(I16 <> P, [%t,%f;%t,%t]);
659assert_checkequal(I16 <> PC, [%t,%f;%t,%t]);
660assert_checkequal(I16 <> SP, %t);
661assert_checkequal(I16 <> SPC, %t);
662assert_checkequal(I16 <> SP1, %t);
663assert_checkequal(I16 <> SPC1, %t);
664assert_checkequal(I16 <> i8, [%t,%t;%t,%t]);
665assert_checkequal(I16 <> I8, [%t,%f;%t,%t]);
666assert_checkequal(I16 <> ui8, [%t,%t;%t,%t]);
667assert_checkequal(I16 <> UI8, [%t,%f;%t,%t]);
668assert_checkequal(I16 <> i16, [%f,%t;%t,%t]);
669assert_checkequal(I16 <> I16, [%f,%f;%f,%f]);
670assert_checkequal(I16 <> ui16, [%t,%t;%t,%t]);
671assert_checkequal(I16 <> UI16, [%t,%f;%t,%t]);
672assert_checkequal(I16 <> i32, [%t,%t;%t,%t]);
673assert_checkequal(I16 <> I32, [%t,%f;%t,%t]);
674assert_checkequal(I16 <> ui32, [%t,%t;%t,%t]);
675assert_checkequal(I16 <> UI32, [%t,%f;%t,%t]);
676assert_checkequal(I16 <> str, %t);
677assert_checkequal(I16 <> STR, %t);
678assert_checkequal(I16 <> b, [%t,%t;%t,%t]);
679assert_checkequal(I16 <> B, [%t,%t;%t,%t]);
680assert_checkequal(I16 <> SPB, %t);
681assert_checkequal(ui16 <> empty, %t);
682assert_checkequal(ui16 <> r, %t);
683assert_checkequal(ui16 <> c, %t);
684assert_checkequal(ui16 <> R, [%t,%t;%t,%t]);
685assert_checkequal(ui16 <> C, [%t,%t;%t,%t]);
686assert_checkequal(ui16 <> e, %t);
687assert_checkequal(ui16 <> ec, %t);
688assert_checkequal(ui16 <> p, %t);
689assert_checkequal(ui16 <> pc, %t);
690assert_checkequal(ui16 <> P, [%t,%t;%t,%t]);
691assert_checkequal(ui16 <> PC, [%t,%t;%t,%t]);
692assert_checkequal(ui16 <> SP, sparse([1,1;1,2;1,3;1,4;1,5;1,6;1,7;1,8;1,9;1,10;2,1;2,2;2,3;2,4;2,5;2,6;2,7;2,8;2,9;2,10;3,1;3,2;3,3;3,4;3,5;3,6;3,7;3,8;3,9;3,10;4,1;4,2;4,3;4,4;4,5;4,6;4,7;4,8;4,9;4,10],[%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t],[4,10]));
693assert_checkequal(ui16 <> SPC, sparse([1,1;1,2;1,3;1,4;1,5;1,6;1,7;1,8;1,9;1,10;2,1;2,2;2,3;2,4;2,5;2,6;2,7;2,8;2,9;2,10;3,1;3,2;3,3;3,4;3,5;3,6;3,7;3,8;3,9;3,10;4,1;4,2;4,3;4,4;4,5;4,6;4,7;4,8;4,9;4,10],[%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t],[4,10]));
694assert_checkequal(ui16 <> SP1, sparse([1,1],%t,[1,1]));
695assert_checkequal(ui16 <> SPC1, sparse([1,1],%t,[1,1]));
696assert_checkequal(ui16 <> i8, %t);
697assert_checkequal(ui16 <> I8, [%t,%t;%t,%t]);
698assert_checkequal(ui16 <> ui8, %t);
699assert_checkequal(ui16 <> UI8, [%t,%t;%t,%t]);
700assert_checkequal(ui16 <> i16, %t);
701assert_checkequal(ui16 <> I16, [%t,%t;%t,%t]);
702assert_checkequal(ui16 <> ui16, %f);
703assert_checkequal(ui16 <> UI16, [%f,%t;%t,%t]);
704assert_checkequal(ui16 <> i32, %t);
705assert_checkequal(ui16 <> I32, [%t,%t;%t,%t]);
706assert_checkequal(ui16 <> ui32, %t);
707assert_checkequal(ui16 <> UI32, [%t,%t;%t,%t]);
708assert_checkequal(ui16 <> str, %t);
709assert_checkequal(ui16 <> STR, %t);
710assert_checkequal(ui16 <> b, %t);
711assert_checkequal(ui16 <> B, [%t,%t;%t,%t]);
712assert_checkequal(ui16 <> SPB, %t);
713assert_checkequal(UI16 <> empty, %t);
714assert_checkequal(UI16 <> r, [%t,%f;%t,%t]);
715assert_checkequal(UI16 <> c, [%t,%t;%t,%t]);
716assert_checkequal(UI16 <> R, [%t,%f;%t,%t]);
717assert_checkequal(UI16 <> C, [%t,%t;%t,%t]);
718assert_checkequal(UI16 <> e, [%t,%t;%t,%t]);
719assert_checkequal(UI16 <> ec, [%t,%t;%t,%t]);
720assert_checkequal(UI16 <> p, [%t,%t;%t,%t]);
721assert_checkequal(UI16 <> pc, [%t,%t;%t,%t]);
722assert_checkequal(UI16 <> P, [%t,%f;%t,%t]);
723assert_checkequal(UI16 <> PC, [%t,%f;%t,%t]);
724assert_checkequal(UI16 <> SP, %t);
725assert_checkequal(UI16 <> SPC, %t);
726assert_checkequal(UI16 <> SP1, %t);
727assert_checkequal(UI16 <> SPC1, %t);
728assert_checkequal(UI16 <> i8, [%t,%t;%t,%t]);
729assert_checkequal(UI16 <> I8, [%t,%f;%t,%t]);
730assert_checkequal(UI16 <> ui8, [%t,%t;%t,%t]);
731assert_checkequal(UI16 <> UI8, [%t,%f;%t,%t]);
732assert_checkequal(UI16 <> i16, [%t,%t;%t,%t]);
733assert_checkequal(UI16 <> I16, [%t,%f;%t,%t]);
734assert_checkequal(UI16 <> ui16, [%f,%t;%t,%t]);
735assert_checkequal(UI16 <> UI16, [%f,%f;%f,%f]);
736assert_checkequal(UI16 <> i32, [%t,%t;%t,%t]);
737assert_checkequal(UI16 <> I32, [%t,%f;%t,%t]);
738assert_checkequal(UI16 <> ui32, [%t,%t;%t,%t]);
739assert_checkequal(UI16 <> UI32, [%t,%f;%t,%t]);
740assert_checkequal(UI16 <> str, %t);
741assert_checkequal(UI16 <> STR, %t);
742assert_checkequal(UI16 <> b, [%t,%t;%t,%t]);
743assert_checkequal(UI16 <> B, [%t,%t;%t,%t]);
744assert_checkequal(UI16 <> SPB, %t);
745assert_checkequal(i32 <> empty, %t);
746assert_checkequal(i32 <> r, %t);
747assert_checkequal(i32 <> c, %t);
748assert_checkequal(i32 <> R, [%t,%t;%t,%t]);
749assert_checkequal(i32 <> C, [%t,%t;%t,%t]);
750assert_checkequal(i32 <> e, %t);
751assert_checkequal(i32 <> ec, %t);
752assert_checkequal(i32 <> p, %t);
753assert_checkequal(i32 <> pc, %t);
754assert_checkequal(i32 <> P, [%t,%t;%t,%t]);
755assert_checkequal(i32 <> PC, [%t,%t;%t,%t]);
756assert_checkequal(i32 <> SP, sparse([1,1;1,2;1,3;1,4;1,5;1,6;1,7;1,8;1,9;1,10;2,1;2,2;2,3;2,4;2,5;2,6;2,7;2,8;2,9;2,10;3,1;3,2;3,3;3,4;3,5;3,6;3,7;3,8;3,9;3,10;4,1;4,2;4,3;4,4;4,5;4,6;4,7;4,8;4,9;4,10],[%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t],[4,10]));
757assert_checkequal(i32 <> SPC, sparse([1,1;1,2;1,3;1,4;1,5;1,6;1,7;1,8;1,9;1,10;2,1;2,2;2,3;2,4;2,5;2,6;2,7;2,8;2,9;2,10;3,1;3,2;3,3;3,4;3,5;3,6;3,7;3,8;3,9;3,10;4,1;4,2;4,3;4,4;4,5;4,6;4,7;4,8;4,9;4,10],[%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t],[4,10]));
758assert_checkequal(i32 <> SP1, sparse([1,1],%t,[1,1]));
759assert_checkequal(i32 <> SPC1, sparse([1,1],%t,[1,1]));
760assert_checkequal(i32 <> i8, %t);
761assert_checkequal(i32 <> I8, [%t,%t;%t,%f]);
762assert_checkequal(i32 <> ui8, %t);
763assert_checkequal(i32 <> UI8, [%t,%t;%t,%t]);
764assert_checkequal(i32 <> i16, %t);
765assert_checkequal(i32 <> I16, [%t,%t;%t,%t]);
766assert_checkequal(i32 <> ui16, %t);
767assert_checkequal(i32 <> UI16, [%t,%t;%t,%t]);
768assert_checkequal(i32 <> i32, %f);
769assert_checkequal(i32 <> I32, [%f,%t;%t,%t]);
770assert_checkequal(i32 <> ui32, %t);
771assert_checkequal(i32 <> UI32, [%t,%t;%t,%t]);
772assert_checkequal(i32 <> str, %t);
773assert_checkequal(i32 <> STR, %t);
774assert_checkequal(i32 <> b, %t);
775assert_checkequal(i32 <> B, [%t,%t;%t,%t]);
776assert_checkequal(i32 <> SPB, %t);
777assert_checkequal(I32 <> empty, %t);
778assert_checkequal(I32 <> r, [%t,%f;%t,%t]);
779assert_checkequal(I32 <> c, [%t,%t;%t,%t]);
780assert_checkequal(I32 <> R, [%t,%f;%t,%t]);
781assert_checkequal(I32 <> C, [%t,%t;%t,%t]);
782assert_checkequal(I32 <> e, [%t,%t;%t,%t]);
783assert_checkequal(I32 <> ec, [%t,%t;%t,%t]);
784assert_checkequal(I32 <> p, [%t,%t;%t,%t]);
785assert_checkequal(I32 <> pc, [%t,%t;%t,%t]);
786assert_checkequal(I32 <> P, [%t,%f;%t,%t]);
787assert_checkequal(I32 <> PC, [%t,%f;%t,%t]);
788assert_checkequal(I32 <> SP, %t);
789assert_checkequal(I32 <> SPC, %t);
790assert_checkequal(I32 <> SP1, %t);
791assert_checkequal(I32 <> SPC1, %t);
792assert_checkequal(I32 <> i8, [%t,%t;%t,%t]);
793assert_checkequal(I32 <> I8, [%t,%f;%t,%t]);
794assert_checkequal(I32 <> ui8, [%t,%t;%t,%t]);
795assert_checkequal(I32 <> UI8, [%t,%f;%t,%t]);
796assert_checkequal(I32 <> i16, [%t,%t;%t,%t]);
797assert_checkequal(I32 <> I16, [%t,%f;%t,%t]);
798assert_checkequal(I32 <> ui16, [%t,%t;%t,%t]);
799assert_checkequal(I32 <> UI16, [%t,%f;%t,%t]);
800assert_checkequal(I32 <> i32, [%f,%t;%t,%t]);
801assert_checkequal(I32 <> I32, [%f,%f;%f,%f]);
802assert_checkequal(I32 <> ui32, [%t,%t;%t,%t]);
803assert_checkequal(I32 <> UI32, [%t,%f;%t,%t]);
804assert_checkequal(I32 <> str, %t);
805assert_checkequal(I32 <> STR, %t);
806assert_checkequal(I32 <> b, [%t,%t;%t,%t]);
807assert_checkequal(I32 <> B, [%t,%t;%t,%t]);
808assert_checkequal(I32 <> SPB, %t);
809assert_checkequal(ui32 <> empty, %t);
810assert_checkequal(ui32 <> r, %t);
811assert_checkequal(ui32 <> c, %t);
812assert_checkequal(ui32 <> R, [%t,%t;%t,%t]);
813assert_checkequal(ui32 <> C, [%t,%t;%t,%t]);
814assert_checkequal(ui32 <> e, %t);
815assert_checkequal(ui32 <> ec, %t);
816assert_checkequal(ui32 <> p, %t);
817assert_checkequal(ui32 <> pc, %t);
818assert_checkequal(ui32 <> P, [%t,%t;%t,%t]);
819assert_checkequal(ui32 <> PC, [%t,%t;%t,%t]);
820assert_checkequal(ui32 <> SP, sparse([1,1;1,2;1,3;1,4;1,5;1,6;1,7;1,8;1,9;1,10;2,1;2,2;2,3;2,4;2,5;2,6;2,7;2,8;2,9;2,10;3,1;3,2;3,3;3,4;3,5;3,6;3,7;3,8;3,9;3,10;4,1;4,2;4,3;4,4;4,5;4,6;4,7;4,8;4,9;4,10],[%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t],[4,10]));
821assert_checkequal(ui32 <> SPC, sparse([1,1;1,2;1,3;1,4;1,5;1,6;1,7;1,8;1,9;1,10;2,1;2,2;2,3;2,4;2,5;2,6;2,7;2,8;2,9;2,10;3,1;3,2;3,3;3,4;3,5;3,6;3,7;3,8;3,9;3,10;4,1;4,2;4,3;4,4;4,5;4,6;4,7;4,8;4,9;4,10],[%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t;%t],[4,10]));
822assert_checkequal(ui32 <> SP1, sparse([1,1],%t,[1,1]));
823assert_checkequal(ui32 <> SPC1, sparse([1,1],%t,[1,1]));
824assert_checkequal(ui32 <> i8, %t);
825assert_checkequal(ui32 <> I8, [%t,%t;%t,%t]);
826assert_checkequal(ui32 <> ui8, %t);
827assert_checkequal(ui32 <> UI8, [%t,%t;%t,%f]);
828assert_checkequal(ui32 <> i16, %t);
829assert_checkequal(ui32 <> I16, [%t,%t;%t,%t]);
830assert_checkequal(ui32 <> ui16, %t);
831assert_checkequal(ui32 <> UI16, [%t,%t;%t,%t]);
832assert_checkequal(ui32 <> i32, %t);
833assert_checkequal(ui32 <> I32, [%t,%t;%t,%t]);
834assert_checkequal(ui32 <> ui32, %f);
835assert_checkequal(ui32 <> UI32, [%f,%t;%t,%t]);
836assert_checkequal(ui32 <> str, %t);
837assert_checkequal(ui32 <> STR, %t);
838assert_checkequal(ui32 <> b, %t);
839assert_checkequal(ui32 <> B, [%t,%t;%t,%t]);
840assert_checkequal(ui32 <> SPB, %t);
841assert_checkequal(UI32 <> empty, %t);
842assert_checkequal(UI32 <> r, [%t,%f;%t,%t]);
843assert_checkequal(UI32 <> c, [%t,%t;%t,%t]);
844assert_checkequal(UI32 <> R, [%t,%f;%t,%t]);
845assert_checkequal(UI32 <> C, [%t,%t;%t,%t]);
846assert_checkequal(UI32 <> e, [%t,%t;%t,%t]);
847assert_checkequal(UI32 <> ec, [%t,%t;%t,%t]);
848assert_checkequal(UI32 <> p, [%t,%t;%t,%t]);
849assert_checkequal(UI32 <> pc, [%t,%t;%t,%t]);
850assert_checkequal(UI32 <> P, [%t,%f;%t,%t]);
851assert_checkequal(UI32 <> PC, [%t,%f;%t,%t]);
852assert_checkequal(UI32 <> SP, %t);
853assert_checkequal(UI32 <> SPC, %t);
854assert_checkequal(UI32 <> SP1, %t);
855assert_checkequal(UI32 <> SPC1, %t);
856assert_checkequal(UI32 <> i8, [%t,%t;%t,%t]);
857assert_checkequal(UI32 <> I8, [%t,%f;%t,%t]);
858assert_checkequal(UI32 <> ui8, [%t,%t;%t,%t]);
859assert_checkequal(UI32 <> UI8, [%t,%f;%t,%t]);
860assert_checkequal(UI32 <> i16, [%t,%t;%t,%t]);
861assert_checkequal(UI32 <> I16, [%t,%f;%t,%t]);
862assert_checkequal(UI32 <> ui16, [%t,%t;%t,%t]);
863assert_checkequal(UI32 <> UI16, [%t,%f;%t,%t]);
864assert_checkequal(UI32 <> i32, [%t,%t;%t,%t]);
865assert_checkequal(UI32 <> I32, [%t,%f;%t,%t]);
866assert_checkequal(UI32 <> ui32, [%f,%t;%t,%t]);
867assert_checkequal(UI32 <> UI32, [%f,%f;%f,%f]);
868assert_checkequal(UI32 <> str, %t);
869assert_checkequal(UI32 <> STR, %t);
870assert_checkequal(UI32 <> b, [%t,%t;%t,%t]);
871assert_checkequal(UI32 <> B, [%t,%t;%t,%t]);
872assert_checkequal(UI32 <> SPB, %t);
873assert_checkequal(str <> empty, %t);
874assert_checkequal(str <> r, %t);
875assert_checkequal(str <> c, %t);
876assert_checkequal(str <> R, %t);
877assert_checkequal(str <> C, %t);
878assert_checkequal(str <> e, %t);
879assert_checkequal(str <> ec, %t);
880assert_checkequal(str <> p, %t);
881assert_checkequal(str <> pc, %t);
882assert_checkequal(str <> P, %t);
883assert_checkequal(str <> PC, %t);
884assert_checkequal(str <> SP, %t);
885assert_checkequal(str <> SPC, %t);
886assert_checkequal(str <> SP1, %t);
887assert_checkequal(str <> SPC1, %t);
888assert_checkequal(str <> i8, %t);
889assert_checkequal(str <> I8, %t);
890assert_checkequal(str <> ui8, %t);
891assert_checkequal(str <> UI8, %t);
892assert_checkequal(str <> i16, %t);
893assert_checkequal(str <> I16, %t);
894assert_checkequal(str <> ui16, %t);
895assert_checkequal(str <> UI16, %t);
896assert_checkequal(str <> i32, %t);
897assert_checkequal(str <> I32, %t);
898assert_checkequal(str <> ui32, %t);
899assert_checkequal(str <> UI32, %t);
900assert_checkequal(str <> str, %f);
901assert_checkequal(str <> STR, [%t,%t;%t,%t]);
902assert_checkequal(str <> b, %t);
903assert_checkequal(str <> B, %t);
904assert_checkequal(str <> SPB, %t);
905assert_checkequal(STR <> empty, %t);
906assert_checkequal(STR <> r, %t);
907assert_checkequal(STR <> c, %t);
908assert_checkequal(STR <> R, %t);
909assert_checkequal(STR <> C, %t);
910assert_checkequal(STR <> e, %t);
911assert_checkequal(STR <> ec, %t);
912assert_checkequal(STR <> p, %t);
913assert_checkequal(STR <> pc, %t);
914assert_checkequal(STR <> P, %t);
915assert_checkequal(STR <> PC, %t);
916assert_checkequal(STR <> SP, %t);
917assert_checkequal(STR <> SPC, %t);
918assert_checkequal(STR <> SP1, %t);
919assert_checkequal(STR <> SPC1, %t);
920assert_checkequal(STR <> i8, %t);
921assert_checkequal(STR <> I8, %t);
922assert_checkequal(STR <> ui8, %t);
923assert_checkequal(STR <> UI8, %t);
924assert_checkequal(STR <> i16, %t);
925assert_checkequal(STR <> I16, %t);
926assert_checkequal(STR <> ui16, %t);
927assert_checkequal(STR <> UI16, %t);
928assert_checkequal(STR <> i32, %t);
929assert_checkequal(STR <> I32, %t);
930assert_checkequal(STR <> ui32, %t);
931assert_checkequal(STR <> UI32, %t);
932assert_checkequal(STR <> str, [%t,%t;%t,%t]);
933assert_checkequal(STR <> STR, [%f,%f;%f,%f]);
934assert_checkequal(STR <> b, %t);
935assert_checkequal(STR <> B, %t);
936assert_checkequal(STR <> SPB, %t);
937assert_checkequal(b <> empty, %t);
938assert_checkequal(b <> r, %t);
939assert_checkequal(b <> c, %t);
940assert_checkequal(b <> R, %t);
941assert_checkequal(b <> C, %t);
942assert_checkequal(b <> e, %t);
943assert_checkequal(b <> ec, %t);
944assert_checkequal(b <> p, %t);
945assert_checkequal(b <> pc, %t);
946assert_checkequal(b <> P, %t);
947assert_checkequal(b <> PC, %t);
948assert_checkequal(b <> SP, %t);
949assert_checkequal(b <> SPC, %t);
950assert_checkequal(b <> SP1, %t);
951assert_checkequal(b <> SPC1, %t);
952assert_checkequal(b <> i8, %t);
953assert_checkequal(b <> I8, [%t,%t;%t,%t]);
954assert_checkequal(b <> ui8, %t);
955assert_checkequal(b <> UI8, [%t,%t;%t,%t]);
956assert_checkequal(b <> i16, %t);
957assert_checkequal(b <> I16, [%t,%t;%t,%t]);
958assert_checkequal(b <> ui16, %t);
959assert_checkequal(b <> UI16, [%t,%t;%t,%t]);
960assert_checkequal(b <> i32, %t);
961assert_checkequal(b <> I32, [%t,%t;%t,%t]);
962assert_checkequal(b <> ui32, %t);
963assert_checkequal(b <> UI32, [%t,%t;%t,%t]);
964assert_checkequal(b <> str, %t);
965assert_checkequal(b <> STR, %t);
966assert_checkequal(b <> b, %f);
967assert_checkequal(b <> B, [%t,%f;%f,%t]);
968assert_checkequal(b <> SPB, sparse([1,2;2,1],[%t;%t],[2,2]));
969assert_checkequal(B <> empty, %t);
970assert_checkequal(B <> r, %t);
971assert_checkequal(B <> c, %t);
972assert_checkequal(B <> R, %t);
973assert_checkequal(B <> C, %t);
974assert_checkequal(B <> e, %t);
975assert_checkequal(B <> ec, %t);
976assert_checkequal(B <> p, %t);
977assert_checkequal(B <> pc, %t);
978assert_checkequal(B <> P, %t);
979assert_checkequal(B <> PC, %t);
980assert_checkequal(B <> SP, %t);
981assert_checkequal(B <> SPC, %t);
982assert_checkequal(B <> SP1, %t);
983assert_checkequal(B <> SPC1, %t);
984assert_checkequal(B <> i8, [%t,%t;%t,%t]);
985assert_checkequal(B <> I8, [%t,%t;%t,%t]);
986assert_checkequal(B <> ui8, [%t,%t;%t,%t]);
987assert_checkequal(B <> UI8, [%t,%t;%t,%t]);
988assert_checkequal(B <> i16, [%t,%t;%t,%t]);
989assert_checkequal(B <> I16, [%t,%t;%t,%t]);
990assert_checkequal(B <> ui16, [%t,%t;%t,%t]);
991assert_checkequal(B <> UI16, [%t,%t;%t,%t]);
992assert_checkequal(B <> i32, [%t,%t;%t,%t]);
993assert_checkequal(B <> I32, [%t,%t;%t,%t]);
994assert_checkequal(B <> ui32, [%t,%t;%t,%t]);
995assert_checkequal(B <> UI32, [%t,%t;%t,%t]);
996assert_checkequal(B <> str, %t);
997assert_checkequal(B <> STR, %t);
998assert_checkequal(B <> b, [%t,%f;%f,%t]);
999assert_checkequal(B <> B, [%f,%f;%f,%f]);
1000assert_checkequal(B <> SPB, sparse([1,1;1,2;2,1;2,2],[%t;%t;%t;%t],[2,2]));
1001assert_checkequal(SPB <> empty, %t);
1002assert_checkequal(SPB <> r, %t);
1003assert_checkequal(SPB <> c, %t);
1004assert_checkequal(SPB <> R, %t);
1005assert_checkequal(SPB <> C, %t);
1006assert_checkequal(SPB <> e, %t);
1007assert_checkequal(SPB <> ec, %t);
1008assert_checkequal(SPB <> SP, %t);
1009assert_checkequal(SPB <> SPC, %t);
1010assert_checkequal(SPB <> SP1, %t);
1011assert_checkequal(SPB <> SPC1, %t);
1012assert_checkequal(SPB <> i8, %t);
1013assert_checkequal(SPB <> I8, %t);
1014assert_checkequal(SPB <> ui8, %t);
1015assert_checkequal(SPB <> UI8, %t);
1016assert_checkequal(SPB <> i16, %t);
1017assert_checkequal(SPB <> I16, %t);
1018assert_checkequal(SPB <> ui16, %t);
1019assert_checkequal(SPB <> UI16, %t);
1020assert_checkequal(SPB <> i32, %t);
1021assert_checkequal(SPB <> I32, %t);
1022assert_checkequal(SPB <> ui32, %t);
1023assert_checkequal(SPB <> UI32, %t);
1024assert_checkequal(SPB <> str, %t);
1025assert_checkequal(SPB <> STR, %t);
1026assert_checkequal(SPB <> b, sparse([1,2;2,1],[%t;%t],[2,2]));
1027assert_checkequal(SPB <> B, sparse([1,1;1,2;2,1;2,2],[%t;%t;%t;%t],[2,2]));
1028assert_checkequal(SPB <> SPB, sparse([1,1],[%f],[2,2]));
1029assert_checkequal(["a" "b"] <> ["a" "b" "c"],%t);
1030assert_checkequal(["a" "b"] <> ["a" ; "b"],%t);
1031assert_checkequal(["a" "b" "c"] <> ["a" "b"],%t);
1032assert_checkequal(["a" "b"; "a" "b"] <> ["a" "b"],%t);
1033//macro
1034deff("[x]=myplus(y,z)","x=y+z");
1035deff("[x]=mymacro(y,z)",["a=3*y+1"; "x=a*z+y"]);
1036assert_checkequal(myplus <> myplus,%f);
1037assert_checkequal(myplus <> mymacro,%t);
1038assert_checkequal(myplus <> [],%t);
1039assert_checkequal(myplus <> 2,%t);
1040//struct
1041test_st=struct("double",1,"string","test","int8",int8(2),"struct",struct("valeur",0));
1042test_st2=struct("double",1,"string","test","int16",int8(2),"struct",1);
1043test_st4=struct("double",1,"string","test","int8",int8(4),"struct",struct("valeur",0));
1044test_st8=struct("double",8,"string","test","int8",int8(8),"struct",struct("valeur",0));
1045assert_checkequal(test_st <> test_st, %f);
1046assert_checkequal(test_st <> test_st2, %t);
1047assert_checkequal([test_st4 test_st8] <> [test_st test_st], [%t,%t]);
1048assert_checkequal([test_st, test_st4;test_st4,test_st8] <> [test_st, test_st; test_st,test_st], [%f,%t;%t,%t]);
1049assert_checkequal(test_st <> [], %t);
1050//function
1051assert_checkequal(acosd <> acosd, %f);
1052assert_checkequal(acosd <> [], %t);
1053assert_checkequal(acosd <> 2, %t);
1054//polynom
1055res = horner(1/(1-%s),1/(1-%s));
1056assert_checkequal(res <> (1-%s)/-%s, %f);
1057assert_checkequal(res <> (1-%s)/1, %t);
1058assert_checkequal(res <> 1/-%s, %t);
diff --git a/scilab/modules/ast/tests/unit_tests/comparisonnonequal.tst b/scilab/modules/ast/tests/unit_tests/comparisonnonequal.tst
index 685ee65..b808675 100644
--- a/scilab/modules/ast/tests/unit_tests/comparisonnonequal.tst
+++ b/scilab/modules/ast/tests/unit_tests/comparisonnonequal.tst
@@ -1,10 +1,13 @@
1// ============================================================================ 1// ============================================================================
2// Scilab ( http://www.scilab.org/ ) - This file is part of Scilab 2// Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
3// Copyright (C) 2014 - Scilab Enterprises - Sylvain GENIN 3// Copyright (C) 2014 - Scilab Enterprises - Sylvain GENIN
4// Copyright (C) 2021 - Samuel GOUGEON
4// 5//
5// This file is distributed under the same license as the Scilab package. 6// This file is distributed under the same license as the Scilab package.
6// ============================================================================ 7// ============================================================================
8// <-- NO CHECK REF -->
7// <-- CLI SHELL MODE --> 9// <-- CLI SHELL MODE -->
10
8s = %s; 11s = %s;
9 12
10empty = []; 13empty = [];
@@ -1108,3 +1111,29 @@ assert_checkequal(res <> (1-%s)/-%s, %f);
1108assert_checkequal(res <> (1-%s)/1, %t); 1111assert_checkequal(res <> (1-%s)/1, %t);
1109assert_checkequal(res <> 1/-%s, %t); 1112assert_checkequal(res <> 1/-%s, %t);
1110 1113
1114// <> with a type==0 object (void or listdelete)
1115// --------------------------------------------
1116L = list(,2);
1117assert_checkfalse(L(1) <> L(1));
1118assert_checkfalse(null() <> null());
1119assert_checktrue(L(1) <> null());
1120assert_checktrue(null() <> L(1));
1121//
1122lss = syslin('c',[0,1;0,0],[1;1],[1,1]);
1123ptr = lufact(sparse(rand(5,5)));
1124x = 1:10; h5File = TMPDIR + "/x.sod"; save(h5File,"x"); h5 = h5open(h5File);
1125program = macr2tree(%0_o_0);
1126xml = xmlReadStr("<root><a rib=""bar""><b>Hello</b></a></root>");
1127L2 = list(1, [], %z, %f, sparse(5), sparse(%t), int8(2), "abc", sin, sind, ..
1128 list(3), list(), {1,%t}, {}, struct("a",3), 1/%z, 1:$, lss, ptr, ..
1129 h5, program, xml);
1130for object = L2
1131 assert_checktrue(object <> L(1));
1132 assert_checktrue(object <> null());
1133 assert_checktrue(L(1) <> object);
1134 assert_checktrue(null() <> object);
1135end
1136h5close(h5);
1137ludel(ptr);
1138xmlDelete(xml);
1139mdelete(h5File);
diff --git a/scilab/modules/ast/tests/unit_tests/comparisonnonequal_with_graphic.dia.ref b/scilab/modules/ast/tests/unit_tests/comparisonnonequal_with_graphic.dia.ref
deleted file mode 100644
index 1fdefa6..0000000
--- a/scilab/modules/ast/tests/unit_tests/comparisonnonequal_with_graphic.dia.ref
+++ /dev/null
@@ -1,13 +0,0 @@
1// ============================================================================
2// Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
3// Copyright (C) 2014 - Scilab Enterprises - Sylvain GENIN
4//
5// This file is distributed under the same license as the Scilab package.
6// ============================================================================
7// <-- TEST WITH GRAPHIC -->
8//handle
9handle1 = gcf();
10handle2 = gca();
11assert_checkequal(handle1 <> handle1, %f);
12assert_checkequal(handle1 <> handle2, %t);
13delete(handle1);
diff --git a/scilab/modules/ast/tests/unit_tests/comparisonnonequal_with_graphic.tst b/scilab/modules/ast/tests/unit_tests/comparisonnonequal_with_graphic.tst
index 3f0c56e..18e8bb2 100644
--- a/scilab/modules/ast/tests/unit_tests/comparisonnonequal_with_graphic.tst
+++ b/scilab/modules/ast/tests/unit_tests/comparisonnonequal_with_graphic.tst
@@ -1,11 +1,13 @@
1// ============================================================================ 1// ============================================================================
2// Scilab ( http://www.scilab.org/ ) - This file is part of Scilab 2// Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
3// Copyright (C) 2014 - Scilab Enterprises - Sylvain GENIN 3// Copyright (C) 2014 - Scilab Enterprises - Sylvain GENIN
4// Copyright (C) 2021 - Samuel GOUGEON
4// 5//
5// This file is distributed under the same license as the Scilab package. 6// This file is distributed under the same license as the Scilab package.
6// ============================================================================ 7// ============================================================================
7 8
8// <-- TEST WITH GRAPHIC --> 9// <-- TEST WITH GRAPHIC -->
10// <-- NO CHECK REF -->
9 11
10//handle 12//handle
11handle1 = gcf(); 13handle1 = gcf();
@@ -16,3 +18,12 @@ assert_checkequal(handle1 <> handle2, %t);
16 18
17delete(handle1); 19delete(handle1);
18 20
21// With type 0:
22L = list(,2);
23uitree = uiCreateTree(uiCreateNode('Root', 'path\rootImage.jpg', 'rootCallback'));
24for object = list(gdf(), uitree)
25 assert_checktrue(object <> L(1));
26 assert_checktrue(object <> null());
27 assert_checktrue(null() <> object);
28 assert_checktrue(L(1) <> object);
29end
diff --git a/scilab/modules/overloading/macros/%0_n_0.sci b/scilab/modules/overloading/macros/%0_n_0.sci
new file mode 100644
index 0000000..6047c58
--- /dev/null
+++ b/scilab/modules/overloading/macros/%0_n_0.sci
@@ -0,0 +1,13 @@
1// Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
2// Copyright (C) 2021 - Samuel GOUGEON
3//
4// This file is hereby licensed under the terms of the GNU GPL v2.0,
5// pursuant to article 5.3.4 of the CeCILL v.2.1.
6// This file was originally licensed under the terms of the CeCILL v2.1,
7// and continues to be available under such terms.
8// For more information, see the COPYING file which you should have received
9// along with this program.
10
11function r = %0_n_0(a, b)
12 r = ~%0_o_0(a,b)
13endfunction
diff --git a/scilab/modules/overloading/macros/%0_n_H5Object.sci b/scilab/modules/overloading/macros/%0_n_H5Object.sci
new file mode 100644
index 0000000..94aecbd
--- /dev/null
+++ b/scilab/modules/overloading/macros/%0_n_H5Object.sci
@@ -0,0 +1,13 @@
1// Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
2// Copyright (C) 2021 - Samuel GOUGEON
3//
4// This file is hereby licensed under the terms of the GNU GPL v2.0,
5// pursuant to article 5.3.4 of the CeCILL v.2.1.
6// This file was originally licensed under the terms of the CeCILL v2.1,
7// and continues to be available under such terms.
8// For more information, see the COPYING file which you should have received
9// along with this program.
10
11function r = %0_n_H5Object(a, b)
12 r = %t
13endfunction
diff --git a/scilab/modules/overloading/macros/%0_n_XMLDoc.sci b/scilab/modules/overloading/macros/%0_n_XMLDoc.sci
new file mode 100644
index 0000000..b222427
--- /dev/null
+++ b/scilab/modules/overloading/macros/%0_n_XMLDoc.sci
@@ -0,0 +1,13 @@
1// Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
2// Copyright (C) 2021 - Samuel GOUGEON
3//
4// This file is hereby licensed under the terms of the GNU GPL v2.0,
5// pursuant to article 5.3.4 of the CeCILL v.2.1.
6// This file was originally licensed under the terms of the CeCILL v2.1,
7// and continues to be available under such terms.
8// For more information, see the COPYING file which you should have received
9// along with this program.
10
11function r = %0_n_XMLDoc(a, b)
12 r = %t
13endfunction
diff --git a/scilab/modules/overloading/macros/%0_n_b.sci b/scilab/modules/overloading/macros/%0_n_b.sci
new file mode 100644
index 0000000..c94c9a1
--- /dev/null
+++ b/scilab/modules/overloading/macros/%0_n_b.sci
@@ -0,0 +1,13 @@
1// Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
2// Copyright (C) 2021 - Samuel GOUGEON
3//
4// This file is hereby licensed under the terms of the GNU GPL v2.0,
5// pursuant to article 5.3.4 of the CeCILL v.2.1.
6// This file was originally licensed under the terms of the CeCILL v2.1,
7// and continues to be available under such terms.
8// For more information, see the COPYING file which you should have received
9// along with this program.
10
11function r = %0_n_b(a, b)
12 r = %t
13endfunction
diff --git a/scilab/modules/overloading/macros/%0_n_c.sci b/scilab/modules/overloading/macros/%0_n_c.sci
new file mode 100644
index 0000000..725a5f5
--- /dev/null
+++ b/scilab/modules/overloading/macros/%0_n_c.sci
@@ -0,0 +1,13 @@
1// Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
2// Copyright (C) 2021 - Samuel GOUGEON
3//
4// This file is hereby licensed under the terms of the GNU GPL v2.0,
5// pursuant to article 5.3.4 of the CeCILL v.2.1.
6// This file was originally licensed under the terms of the CeCILL v2.1,
7// and continues to be available under such terms.
8// For more information, see the COPYING file which you should have received
9// along with this program.
10
11function r = %0_n_c(a, b)
12 r = %t
13endfunction
diff --git a/scilab/modules/overloading/macros/%0_n_ce.sci b/scilab/modules/overloading/macros/%0_n_ce.sci
new file mode 100644
index 0000000..e430d76
--- /dev/null
+++ b/scilab/modules/overloading/macros/%0_n_ce.sci
@@ -0,0 +1,13 @@
1// Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
2// Copyright (C) 2021 - Samuel GOUGEON
3//
4// This file is hereby licensed under the terms of the GNU GPL v2.0,
5// pursuant to article 5.3.4 of the CeCILL v.2.1.
6// This file was originally licensed under the terms of the CeCILL v2.1,
7// and continues to be available under such terms.
8// For more information, see the COPYING file which you should have received
9// along with this program.
10
11function r = %0_n_ce(a, b)
12 r = %t
13endfunction
diff --git a/scilab/modules/overloading/macros/%0_n_dir.sci b/scilab/modules/overloading/macros/%0_n_dir.sci
new file mode 100644
index 0000000..046fdb6
--- /dev/null
+++ b/scilab/modules/overloading/macros/%0_n_dir.sci
@@ -0,0 +1,13 @@
1// Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
2// Copyright (C) 2021 - Samuel GOUGEON
3//
4// This file is hereby licensed under the terms of the GNU GPL v2.0,
5// pursuant to article 5.3.4 of the CeCILL v.2.1.
6// This file was originally licensed under the terms of the CeCILL v2.1,
7// and continues to be available under such terms.
8// For more information, see the COPYING file which you should have received
9// along with this program.
10
11function r = %0_n_dir(a, b)
12 r = %t
13endfunction
diff --git a/scilab/modules/overloading/macros/%0_n_f.sci b/scilab/modules/overloading/macros/%0_n_f.sci
new file mode 100644
index 0000000..2212ae6
--- /dev/null
+++ b/scilab/modules/overloading/macros/%0_n_f.sci
@@ -0,0 +1,13 @@
1// Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
2// Copyright (C) 2021 - Samuel GOUGEON
3//
4// This file is hereby licensed under the terms of the GNU GPL v2.0,
5// pursuant to article 5.3.4 of the CeCILL v.2.1.
6// This file was originally licensed under the terms of the CeCILL v2.1,
7// and continues to be available under such terms.
8// For more information, see the COPYING file which you should have received
9// along with this program.
10
11function r = %0_n_f(a, b)
12 r = %t
13endfunction
diff --git a/scilab/modules/overloading/macros/%0_n_fptr.sci b/scilab/modules/overloading/macros/%0_n_fptr.sci
new file mode 100644
index 0000000..5090acf
--- /dev/null
+++ b/scilab/modules/overloading/macros/%0_n_fptr.sci
@@ -0,0 +1,13 @@
1// Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
2// Copyright (C) 2021 - Samuel GOUGEON
3//
4// This file is hereby licensed under the terms of the GNU GPL v2.0,
5// pursuant to article 5.3.4 of the CeCILL v.2.1.
6// This file was originally licensed under the terms of the CeCILL v2.1,
7// and continues to be available under such terms.
8// For more information, see the COPYING file which you should have received
9// along with this program.
10
11function r = %0_n_fptr(a, b)
12 r = %t
13endfunction
diff --git a/scilab/modules/overloading/macros/%0_n_function.sci b/scilab/modules/overloading/macros/%0_n_function.sci
new file mode 100644
index 0000000..d3c9f30
--- /dev/null
+++ b/scilab/modules/overloading/macros/%0_n_function.sci
@@ -0,0 +1,13 @@
1// Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
2// Copyright (C) 2021 - Samuel GOUGEON
3//
4// This file is hereby licensed under the terms of the GNU GPL v2.0,
5// pursuant to article 5.3.4 of the CeCILL v.2.1.
6// This file was originally licensed under the terms of the CeCILL v2.1,
7// and continues to be available under such terms.
8// For more information, see the COPYING file which you should have received
9// along with this program.
10
11function r = %0_n_function(a, b)
12 r = %t
13endfunction
diff --git a/scilab/modules/overloading/macros/%0_n_h.sci b/scilab/modules/overloading/macros/%0_n_h.sci
new file mode 100644
index 0000000..1114a2f
--- /dev/null
+++ b/scilab/modules/overloading/macros/%0_n_h.sci
@@ -0,0 +1,13 @@
1// Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
2// Copyright (C) 2021 - Samuel GOUGEON
3//
4// This file is hereby licensed under the terms of the GNU GPL v2.0,
5// pursuant to article 5.3.4 of the CeCILL v.2.1.
6// This file was originally licensed under the terms of the CeCILL v2.1,
7// and continues to be available under such terms.
8// For more information, see the COPYING file which you should have received
9// along with this program.
10
11function r = %0_n_h(a, b)
12 r = %t
13endfunction
diff --git a/scilab/modules/overloading/macros/%0_n_i.sci b/scilab/modules/overloading/macros/%0_n_i.sci
new file mode 100644
index 0000000..fc2cf21
--- /dev/null
+++ b/scilab/modules/overloading/macros/%0_n_i.sci
@@ -0,0 +1,13 @@
1// Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
2// Copyright (C) 2021 - Samuel GOUGEON
3//
4// This file is hereby licensed under the terms of the GNU GPL v2.0,
5// pursuant to article 5.3.4 of the CeCILL v.2.1.
6// This file was originally licensed under the terms of the CeCILL v2.1,
7// and continues to be available under such terms.
8// For more information, see the COPYING file which you should have received
9// along with this program.
10
11function r = %0_n_i(a, b)
12 r = %t
13endfunction
diff --git a/scilab/modules/overloading/macros/%0_n_ip.sci b/scilab/modules/overloading/macros/%0_n_ip.sci
new file mode 100644
index 0000000..2909434
--- /dev/null
+++ b/scilab/modules/overloading/macros/%0_n_ip.sci
@@ -0,0 +1,13 @@
1// Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
2// Copyright (C) 2021 - Samuel GOUGEON
3//
4// This file is hereby licensed under the terms of the GNU GPL v2.0,
5// pursuant to article 5.3.4 of the CeCILL v.2.1.
6// This file was originally licensed under the terms of the CeCILL v2.1,
7// and continues to be available under such terms.
8// For more information, see the COPYING file which you should have received
9// along with this program.
10
11function r = %0_n_ip(a, b)
12 r = %t
13endfunction
diff --git a/scilab/modules/overloading/macros/%0_n_l.sci b/scilab/modules/overloading/macros/%0_n_l.sci
new file mode 100644
index 0000000..386107d
--- /dev/null
+++ b/scilab/modules/overloading/macros/%0_n_l.sci
@@ -0,0 +1,13 @@
1// Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
2// Copyright (C) 2021 - Samuel GOUGEON
3//
4// This file is hereby licensed under the terms of the GNU GPL v2.0,
5// pursuant to article 5.3.4 of the CeCILL v.2.1.
6// This file was originally licensed under the terms of the CeCILL v2.1,
7// and continues to be available under such terms.
8// For more information, see the COPYING file which you should have received
9// along with this program.
10
11function r = %0_n_l(a, b)
12 r = %t
13endfunction
diff --git a/scilab/modules/overloading/macros/%0_n_lss.sci b/scilab/modules/overloading/macros/%0_n_lss.sci
new file mode 100644
index 0000000..020463e
--- /dev/null
+++ b/scilab/modules/overloading/macros/%0_n_lss.sci
@@ -0,0 +1,13 @@
1// Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
2// Copyright (C) 2021 - Samuel GOUGEON
3//
4// This file is hereby licensed under the terms of the GNU GPL v2.0,
5// pursuant to article 5.3.4 of the CeCILL v.2.1.
6// This file was originally licensed under the terms of the CeCILL v2.1,
7// and continues to be available under such terms.
8// For more information, see the COPYING file which you should have received
9// along with this program.
10
11function r = %0_n_lss(a, b)
12 r = %t
13endfunction
diff --git a/scilab/modules/overloading/macros/%0_n_p.sci b/scilab/modules/overloading/macros/%0_n_p.sci
new file mode 100644
index 0000000..0b4e99f
--- /dev/null
+++ b/scilab/modules/overloading/macros/%0_n_p.sci
@@ -0,0 +1,13 @@
1// Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
2// Copyright (C) 2021 - Samuel GOUGEON
3//
4// This file is hereby licensed under the terms of the GNU GPL v2.0,
5// pursuant to article 5.3.4 of the CeCILL v.2.1.
6// This file was originally licensed under the terms of the CeCILL v2.1,
7// and continues to be available under such terms.
8// For more information, see the COPYING file which you should have received
9// along with this program.
10
11function r = %0_n_p(a, b)
12 r = %t
13endfunction
diff --git a/scilab/modules/overloading/macros/%0_n_program.sci b/scilab/modules/overloading/macros/%0_n_program.sci
new file mode 100644
index 0000000..510cba7
--- /dev/null
+++ b/scilab/modules/overloading/macros/%0_n_program.sci
@@ -0,0 +1,13 @@
1// Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
2// Copyright (C) 2021 - Samuel GOUGEON
3//
4// This file is hereby licensed under the terms of the GNU GPL v2.0,
5// pursuant to article 5.3.4 of the CeCILL v.2.1.
6// This file was originally licensed under the terms of the CeCILL v2.1,
7// and continues to be available under such terms.
8// For more information, see the COPYING file which you should have received
9// along with this program.
10
11function r = %0_n_program(a, b)
12 r = %t
13endfunction
diff --git a/scilab/modules/overloading/macros/%0_n_ptr.sci b/scilab/modules/overloading/macros/%0_n_ptr.sci
new file mode 100644
index 0000000..553821e
--- /dev/null
+++ b/scilab/modules/overloading/macros/%0_n_ptr.sci
@@ -0,0 +1,13 @@
1// Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
2// Copyright (C) 2021 - Samuel GOUGEON
3//
4// This file is hereby licensed under the terms of the GNU GPL v2.0,
5// pursuant to article 5.3.4 of the CeCILL v.2.1.
6// This file was originally licensed under the terms of the CeCILL v2.1,
7// and continues to be available under such terms.
8// For more information, see the COPYING file which you should have received
9// along with this program.
10
11function r = %0_n_ptr(a, b)
12 r = %t
13endfunction
diff --git a/scilab/modules/overloading/macros/%0_n_r.sci b/scilab/modules/overloading/macros/%0_n_r.sci
new file mode 100644
index 0000000..648a329
--- /dev/null
+++ b/scilab/modules/overloading/macros/%0_n_r.sci
@@ -0,0 +1,13 @@
1// Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
2// Copyright (C) 2021 - Samuel GOUGEON
3//
4// This file is hereby licensed under the terms of the GNU GPL v2.0,
5// pursuant to article 5.3.4 of the CeCILL v.2.1.
6// This file was originally licensed under the terms of the CeCILL v2.1,
7// and continues to be available under such terms.
8// For more information, see the COPYING file which you should have received
9// along with this program.
10
11function r = %0_n_r(a, b)
12 r = %t
13endfunction
diff --git a/scilab/modules/overloading/macros/%0_n_s.sci b/scilab/modules/overloading/macros/%0_n_s.sci
new file mode 100644
index 0000000..70b875f
--- /dev/null
+++ b/scilab/modules/overloading/macros/%0_n_s.sci
@@ -0,0 +1,13 @@
1// Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
2// Copyright (C) 2021 - Samuel GOUGEON
3//
4// This file is hereby licensed under the terms of the GNU GPL v2.0,
5// pursuant to article 5.3.4 of the CeCILL v.2.1.
6// This file was originally licensed under the terms of the CeCILL v2.1,
7// and continues to be available under such terms.
8// For more information, see the COPYING file which you should have received
9// along with this program.
10
11function r = %0_n_s(a, b)
12 r = %t
13endfunction
diff --git a/scilab/modules/overloading/macros/%0_n_sp.sci b/scilab/modules/overloading/macros/%0_n_sp.sci
new file mode 100644
index 0000000..ec5aff5
--- /dev/null
+++ b/scilab/modules/overloading/macros/%0_n_sp.sci
@@ -0,0 +1,13 @@
1// Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
2// Copyright (C) 2021 - Samuel GOUGEON
3//
4// This file is hereby licensed under the terms of the GNU GPL v2.0,
5// pursuant to article 5.3.4 of the CeCILL v.2.1.
6// This file was originally licensed under the terms of the CeCILL v2.1,
7// and continues to be available under such terms.
8// For more information, see the COPYING file which you should have received
9// along with this program.
10
11function r = %0_n_sp(a, b)
12 r = %t
13endfunction
diff --git a/scilab/modules/overloading/macros/%0_n_spb.sci b/scilab/modules/overloading/macros/%0_n_spb.sci
new file mode 100644
index 0000000..f07f6be
--- /dev/null
+++ b/scilab/modules/overloading/macros/%0_n_spb.sci
@@ -0,0 +1,13 @@
1// Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
2// Copyright (C) 2021 - Samuel GOUGEON
3//
4// This file is hereby licensed under the terms of the GNU GPL v2.0,
5// pursuant to article 5.3.4 of the CeCILL v.2.1.
6// This file was originally licensed under the terms of the CeCILL v2.1,
7// and continues to be available under such terms.
8// For more information, see the COPYING file which you should have received
9// along with this program.
10
11function r = %0_n_spb(a, b)
12 r = %t
13endfunction
diff --git a/scilab/modules/overloading/macros/%0_n_st.sci b/scilab/modules/overloading/macros/%0_n_st.sci
new file mode 100644
index 0000000..db19fc6
--- /dev/null
+++ b/scilab/modules/overloading/macros/%0_n_st.sci
@@ -0,0 +1,13 @@
1// Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
2// Copyright (C) 2021 - Samuel GOUGEON
3//
4// This file is hereby licensed under the terms of the GNU GPL v2.0,
5// pursuant to article 5.3.4 of the CeCILL v.2.1.
6// This file was originally licensed under the terms of the CeCILL v2.1,
7// and continues to be available under such terms.
8// For more information, see the COPYING file which you should have received
9// along with this program.
10
11function r = %0_n_st(a, b)
12 r = %t
13endfunction
diff --git a/scilab/modules/overloading/macros/%0_n_uitree.sci b/scilab/modules/overloading/macros/%0_n_uitree.sci
new file mode 100644
index 0000000..3000889
--- /dev/null
+++ b/scilab/modules/overloading/macros/%0_n_uitree.sci
@@ -0,0 +1,13 @@
1// Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
2// Copyright (C) 2021 - Samuel GOUGEON
3//
4// This file is hereby licensed under the terms of the GNU GPL v2.0,
5// pursuant to article 5.3.4 of the CeCILL v.2.1.
6// This file was originally licensed under the terms of the CeCILL v2.1,
7// and continues to be available under such terms.
8// For more information, see the COPYING file which you should have received
9// along with this program.
10
11function r = %0_n_uitree(a, b)
12 r = %t
13endfunction
diff --git a/scilab/modules/overloading/macros/%0_o_0.sci b/scilab/modules/overloading/macros/%0_o_0.sci
new file mode 100644
index 0000000..2272f00
--- /dev/null
+++ b/scilab/modules/overloading/macros/%0_o_0.sci
@@ -0,0 +1,14 @@
1// Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
2// Copyright (C) 2021 - Samuel GOUGEON
3//
4// This file is hereby licensed under the terms of the GNU GPL v2.0,
5// pursuant to article 5.3.4 of the CeCILL v.2.1.
6// This file was originally licensed under the terms of the CeCILL v2.1,
7// and continues to be available under such terms.
8// For more information, see the COPYING file which you should have received
9// along with this program.
10
11function r = %0_o_0(a, b)
12 // a and b can be of typeof either "void" or "listdelete"
13 r = typeof(a)==typeof(b)
14endfunction
diff --git a/scilab/modules/overloading/macros/%0_o_H5Object.sci b/scilab/modules/overloading/macros/%0_o_H5Object.sci
new file mode 100644
index 0000000..fcdbbb2
--- /dev/null
+++ b/scilab/modules/overloading/macros/%0_o_H5Object.sci
@@ -0,0 +1,13 @@
1// Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
2// Copyright (C) 2021 - Samuel GOUGEON
3//
4// This file is hereby licensed under the terms of the GNU GPL v2.0,
5// pursuant to article 5.3.4 of the CeCILL v.2.1.
6// This file was originally licensed under the terms of the CeCILL v2.1,
7// and continues to be available under such terms.
8// For more information, see the COPYING file which you should have received
9// along with this program.
10
11function r = %0_o_H5Object(a, b)
12 r = %f
13endfunction
diff --git a/scilab/modules/overloading/macros/%0_o_XMLDoc.sci b/scilab/modules/overloading/macros/%0_o_XMLDoc.sci
new file mode 100644
index 0000000..c79c64e
--- /dev/null
+++ b/scilab/modules/overloading/macros/%0_o_XMLDoc.sci
@@ -0,0 +1,13 @@
1// Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
2// Copyright (C) 2021 - Samuel GOUGEON
3//
4// This file is hereby licensed under the terms of the GNU GPL v2.0,
5// pursuant to article 5.3.4 of the CeCILL v.2.1.
6// This file was originally licensed under the terms of the CeCILL v2.1,
7// and continues to be available under such terms.
8// For more information, see the COPYING file which you should have received
9// along with this program.
10
11function r = %0_o_XMLDoc(a, b)
12 r = %f
13endfunction
diff --git a/scilab/modules/overloading/macros/%0_o_b.sci b/scilab/modules/overloading/macros/%0_o_b.sci
new file mode 100644
index 0000000..590c22e
--- /dev/null
+++ b/scilab/modules/overloading/macros/%0_o_b.sci
@@ -0,0 +1,13 @@
1// Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
2// Copyright (C) 2021 - Samuel GOUGEON
3//
4// This file is hereby licensed under the terms of the GNU GPL v2.0,
5// pursuant to article 5.3.4 of the CeCILL v.2.1.
6// This file was originally licensed under the terms of the CeCILL v2.1,
7// and continues to be available under such terms.
8// For more information, see the COPYING file which you should have received
9// along with this program.
10
11function r = %0_o_b(a, b)
12 r = %f
13endfunction
diff --git a/scilab/modules/overloading/macros/%0_o_c.sci b/scilab/modules/overloading/macros/%0_o_c.sci
new file mode 100644
index 0000000..aa70e36
--- /dev/null
+++ b/scilab/modules/overloading/macros/%0_o_c.sci
@@ -0,0 +1,13 @@
1// Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
2// Copyright (C) 2021 - Samuel GOUGEON
3//
4// This file is hereby licensed under the terms of the GNU GPL v2.0,
5// pursuant to article 5.3.4 of the CeCILL v.2.1.
6// This file was originally licensed under the terms of the CeCILL v2.1,
7// and continues to be available under such terms.
8// For more information, see the COPYING file which you should have received
9// along with this program.
10
11function r = %0_o_c(a, b)
12 r = %f
13endfunction
diff --git a/scilab/modules/overloading/macros/%0_o_ce.sci b/scilab/modules/overloading/macros/%0_o_ce.sci
new file mode 100644
index 0000000..2a1d726
--- /dev/null
+++ b/scilab/modules/overloading/macros/%0_o_ce.sci
@@ -0,0 +1,13 @@
1// Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
2// Copyright (C) 2021 - Samuel GOUGEON
3//
4// This file is hereby licensed under the terms of the GNU GPL v2.0,
5// pursuant to article 5.3.4 of the CeCILL v.2.1.
6// This file was originally licensed under the terms of the CeCILL v2.1,
7// and continues to be available under such terms.
8// For more information, see the COPYING file which you should have received
9// along with this program.
10
11function r = %0_o_ce(a, b)
12 r = %f
13endfunction
diff --git a/scilab/modules/overloading/macros/%0_o_dir.sci b/scilab/modules/overloading/macros/%0_o_dir.sci
new file mode 100644
index 0000000..b4c0df1
--- /dev/null
+++ b/scilab/modules/overloading/macros/%0_o_dir.sci
@@ -0,0 +1,13 @@
1// Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
2// Copyright (C) 2021 - Samuel GOUGEON
3//
4// This file is hereby licensed under the terms of the GNU GPL v2.0,
5// pursuant to article 5.3.4 of the CeCILL v.2.1.
6// This file was originally licensed under the terms of the CeCILL v2.1,
7// and continues to be available under such terms.
8// For more information, see the COPYING file which you should have received
9// along with this program.
10
11function r = %0_o_dir(a, b)
12 r = %f
13endfunction
diff --git a/scilab/modules/overloading/macros/%0_o_f.sci b/scilab/modules/overloading/macros/%0_o_f.sci
new file mode 100644
index 0000000..6056ec3
--- /dev/null
+++ b/scilab/modules/overloading/macros/%0_o_f.sci
@@ -0,0 +1,13 @@
1// Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
2// Copyright (C) 2021 - Samuel GOUGEON
3//
4// This file is hereby licensed under the terms of the GNU GPL v2.0,
5// pursuant to article 5.3.4 of the CeCILL v.2.1.
6// This file was originally licensed under the terms of the CeCILL v2.1,
7// and continues to be available under such terms.
8// For more information, see the COPYING file which you should have received
9// along with this program.
10
11function r = %0_o_f(a, b)
12 r = %f
13endfunction
diff --git a/scilab/modules/overloading/macros/%0_o_fptr.sci b/scilab/modules/overloading/macros/%0_o_fptr.sci
new file mode 100644
index 0000000..d21c9c9
--- /dev/null
+++ b/scilab/modules/overloading/macros/%0_o_fptr.sci
@@ -0,0 +1,13 @@
1// Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
2// Copyright (C) 2021 - Samuel GOUGEON
3//
4// This file is hereby licensed under the terms of the GNU GPL v2.0,
5// pursuant to article 5.3.4 of the CeCILL v.2.1.
6// This file was originally licensed under the terms of the CeCILL v2.1,
7// and continues to be available under such terms.
8// For more information, see the COPYING file which you should have received
9// along with this program.
10
11function r = %0_o_fptr(a, b)
12 r = %f
13endfunction
diff --git a/scilab/modules/overloading/macros/%0_o_function.sci b/scilab/modules/overloading/macros/%0_o_function.sci
new file mode 100644
index 0000000..db3757a
--- /dev/null
+++ b/scilab/modules/overloading/macros/%0_o_function.sci
@@ -0,0 +1,13 @@
1// Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
2// Copyright (C) 2021 - Samuel GOUGEON
3//
4// This file is hereby licensed under the terms of the GNU GPL v2.0,
5// pursuant to article 5.3.4 of the CeCILL v.2.1.
6// This file was originally licensed under the terms of the CeCILL v2.1,
7// and continues to be available under such terms.
8// For more information, see the COPYING file which you should have received
9// along with this program.
10
11function r = %0_o_function(a, b)
12 r = %f
13endfunction
diff --git a/scilab/modules/overloading/macros/%0_o_h.sci b/scilab/modules/overloading/macros/%0_o_h.sci
new file mode 100644
index 0000000..89ed6cd
--- /dev/null
+++ b/scilab/modules/overloading/macros/%0_o_h.sci
@@ -0,0 +1,13 @@
1// Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
2// Copyright (C) 2021 - Samuel GOUGEON
3//
4// This file is hereby licensed under the terms of the GNU GPL v2.0,
5// pursuant to article 5.3.4 of the CeCILL v.2.1.
6// This file was originally licensed under the terms of the CeCILL v2.1,
7// and continues to be available under such terms.
8// For more information, see the COPYING file which you should have received
9// along with this program.
10
11function r = %0_o_h(a, b)
12 r = %f
13endfunction
diff --git a/scilab/modules/overloading/macros/%0_o_i.sci b/scilab/modules/overloading/macros/%0_o_i.sci
new file mode 100644
index 0000000..19c3075
--- /dev/null
+++ b/scilab/modules/overloading/macros/%0_o_i.sci
@@ -0,0 +1,13 @@
1// Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
2// Copyright (C) 2021 - Samuel GOUGEON
3//
4// This file is hereby licensed under the terms of the GNU GPL v2.0,
5// pursuant to article 5.3.4 of the CeCILL v.2.1.
6// This file was originally licensed under the terms of the CeCILL v2.1,
7// and continues to be available under such terms.
8// For more information, see the COPYING file which you should have received
9// along with this program.
10
11function r = %0_o_i(a, b)
12 r = %f
13endfunction
diff --git a/scilab/modules/overloading/macros/%0_o_ip.sci b/scilab/modules/overloading/macros/%0_o_ip.sci
new file mode 100644
index 0000000..0405935
--- /dev/null
+++ b/scilab/modules/overloading/macros/%0_o_ip.sci
@@ -0,0 +1,13 @@
1// Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
2// Copyright (C) 2021 - Samuel GOUGEON
3//
4// This file is hereby licensed under the terms of the GNU GPL v2.0,
5// pursuant to article 5.3.4 of the CeCILL v.2.1.
6// This file was originally licensed under the terms of the CeCILL v2.1,
7// and continues to be available under such terms.
8// For more information, see the COPYING file which you should have received
9// along with this program.
10
11function r = %0_o_ip(a, b)
12 r = %f
13endfunction
diff --git a/scilab/modules/overloading/macros/%0_o_l.sci b/scilab/modules/overloading/macros/%0_o_l.sci
new file mode 100644
index 0000000..fdf0fa9
--- /dev/null
+++ b/scilab/modules/overloading/macros/%0_o_l.sci
@@ -0,0 +1,13 @@
1// Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
2// Copyright (C) 2021 - Samuel GOUGEON
3//
4// This file is hereby licensed under the terms of the GNU GPL v2.0,
5// pursuant to article 5.3.4 of the CeCILL v.2.1.
6// This file was originally licensed under the terms of the CeCILL v2.1,
7// and continues to be available under such terms.
8// For more information, see the COPYING file which you should have received
9// along with this program.
10
11function r = %0_o_l(a, b)
12 r = %f
13endfunction
diff --git a/scilab/modules/overloading/macros/%0_o_lss.sci b/scilab/modules/overloading/macros/%0_o_lss.sci
new file mode 100644
index 0000000..27a4c09
--- /dev/null
+++ b/scilab/modules/overloading/macros/%0_o_lss.sci
@@ -0,0 +1,13 @@
1// Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
2// Copyright (C) 2021 - Samuel GOUGEON
3//
4// This file is hereby licensed under the terms of the GNU GPL v2.0,
5// pursuant to article 5.3.4 of the CeCILL v.2.1.
6// This file was originally licensed under the terms of the CeCILL v2.1,
7// and continues to be available under such terms.
8// For more information, see the COPYING file which you should have received
9// along with this program.
10
11function r = %0_o_lss(a, b)
12 r = %f
13endfunction
diff --git a/scilab/modules/overloading/macros/%0_o_p.sci b/scilab/modules/overloading/macros/%0_o_p.sci
new file mode 100644
index 0000000..8198f8a
--- /dev/null
+++ b/scilab/modules/overloading/macros/%0_o_p.sci
@@ -0,0 +1,13 @@
1// Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
2// Copyright (C) 2021 - Samuel GOUGEON
3//
4// This file is hereby licensed under the terms of the GNU GPL v2.0,
5// pursuant to article 5.3.4 of the CeCILL v.2.1.
6// This file was originally licensed under the terms of the CeCILL v2.1,
7// and continues to be available under such terms.
8// For more information, see the COPYING file which you should have received
9// along with this program.
10
11function r = %0_o_p(a, b)
12 r = %f
13endfunction
diff --git a/scilab/modules/overloading/macros/%0_o_program.sci b/scilab/modules/overloading/macros/%0_o_program.sci
new file mode 100644
index 0000000..63fc98f
--- /dev/null
+++ b/scilab/modules/overloading/macros/%0_o_program.sci
@@ -0,0 +1,13 @@
1// Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
2// Copyright (C) 2021 - Samuel GOUGEON
3//
4// This file is hereby licensed under the terms of the GNU GPL v2.0,
5// pursuant to article 5.3.4 of the CeCILL v.2.1.
6// This file was originally licensed under the terms of the CeCILL v2.1,
7// and continues to be available under such terms.
8// For more information, see the COPYING file which you should have received
9// along with this program.
10
11function r = %0_o_program(a, b)
12 r = %f
13endfunction
diff --git a/scilab/modules/overloading/macros/%0_o_ptr.sci b/scilab/modules/overloading/macros/%0_o_ptr.sci
new file mode 100644
index 0000000..ab0943e
--- /dev/null
+++ b/scilab/modules/overloading/macros/%0_o_ptr.sci
@@ -0,0 +1,13 @@
1// Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
2// Copyright (C) 2021 - Samuel GOUGEON
3//
4// This file is hereby licensed under the terms of the GNU GPL v2.0,
5// pursuant to article 5.3.4 of the CeCILL v.2.1.
6// This file was originally licensed under the terms of the CeCILL v2.1,
7// and continues to be available under such terms.
8// For more information, see the COPYING file which you should have received
9// along with this program.
10
11function r = %0_o_ptr(a, b)
12 r = %f
13endfunction
diff --git a/scilab/modules/overloading/macros/%0_o_r.sci b/scilab/modules/overloading/macros/%0_o_r.sci
new file mode 100644
index 0000000..2b2b5d5
--- /dev/null
+++ b/scilab/modules/overloading/macros/%0_o_r.sci
@@ -0,0 +1,13 @@
1// Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
2// Copyright (C) 2021 - Samuel GOUGEON
3//
4// This file is hereby licensed under the terms of the GNU GPL v2.0,
5// pursuant to article 5.3.4 of the CeCILL v.2.1.
6// This file was originally licensed under the terms of the CeCILL v2.1,
7// and continues to be available under such terms.
8// For more information, see the COPYING file which you should have received
9// along with this program.
10
11function r = %0_o_r(a, b)
12 r = %f
13endfunction
diff --git a/scilab/modules/overloading/macros/%0_o_s.sci b/scilab/modules/overloading/macros/%0_o_s.sci
new file mode 100644
index 0000000..a14bd2c
--- /dev/null
+++ b/scilab/modules/overloading/macros/%0_o_s.sci
@@ -0,0 +1,13 @@
1// Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
2// Copyright (C) 2021 - Samuel GOUGEON
3//
4// This file is hereby licensed under the terms of the GNU GPL v2.0,
5// pursuant to article 5.3.4 of the CeCILL v.2.1.
6// This file was originally licensed under the terms of the CeCILL v2.1,
7// and continues to be available under such terms.
8// For more information, see the COPYING file which you should have received
9// along with this program.
10
11function r = %0_o_s(a, b)
12 r = %f
13endfunction
diff --git a/scilab/modules/overloading/macros/%0_o_sp.sci b/scilab/modules/overloading/macros/%0_o_sp.sci
new file mode 100644
index 0000000..0b36b28
--- /dev/null
+++ b/scilab/modules/overloading/macros/%0_o_sp.sci
@@ -0,0 +1,13 @@
1// Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
2// Copyright (C) 2021 - Samuel GOUGEON
3//
4// This file is hereby licensed under the terms of the GNU GPL v2.0,
5// pursuant to article 5.3.4 of the CeCILL v.2.1.
6// This file was originally licensed under the terms of the CeCILL v2.1,
7// and continues to be available under such terms.
8// For more information, see the COPYING file which you should have received
9// along with this program.
10
11function r = %0_o_sp(a, b)
12 r = %f
13endfunction
diff --git a/scilab/modules/overloading/macros/%0_o_spb.sci b/scilab/modules/overloading/macros/%0_o_spb.sci
new file mode 100644
index 0000000..757d6af
--- /dev/null
+++ b/scilab/modules/overloading/macros/%0_o_spb.sci
@@ -0,0 +1,13 @@
1// Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
2// Copyright (C) 2021 - Samuel GOUGEON
3//
4// This file is hereby licensed under the terms of the GNU GPL v2.0,
5// pursuant to article 5.3.4 of the CeCILL v.2.1.
6// This file was originally licensed under the terms of the CeCILL v2.1,
7// and continues to be available under such terms.
8// For more information, see the COPYING file which you should have received
9// along with this program.
10
11function r = %0_o_spb(a, b)
12 r = %f
13endfunction
diff --git a/scilab/modules/overloading/macros/%0_o_st.sci b/scilab/modules/overloading/macros/%0_o_st.sci
new file mode 100644
index 0000000..c15ca2b
--- /dev/null
+++ b/scilab/modules/overloading/macros/%0_o_st.sci
@@ -0,0 +1,13 @@
1// Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
2// Copyright (C) 2021 - Samuel GOUGEON
3//
4// This file is hereby licensed under the terms of the GNU GPL v2.0,
5// pursuant to article 5.3.4 of the CeCILL v.2.1.
6// This file was originally licensed under the terms of the CeCILL v2.1,
7// and continues to be available under such terms.
8// For more information, see the COPYING file which you should have received
9// along with this program.
10
11function r = %0_o_st(a, b)
12 r = %f
13endfunction
diff --git a/scilab/modules/overloading/macros/%0_o_uitree.sci b/scilab/modules/overloading/macros/%0_o_uitree.sci
new file mode 100644
index 0000000..e7e46ce
--- /dev/null
+++ b/scilab/modules/overloading/macros/%0_o_uitree.sci
@@ -0,0 +1,13 @@
1// Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
2// Copyright (C) 2021 - Samuel GOUGEON
3//
4// This file is hereby licensed under the terms of the GNU GPL v2.0,
5// pursuant to article 5.3.4 of the CeCILL v.2.1.
6// This file was originally licensed under the terms of the CeCILL v2.1,
7// and continues to be available under such terms.
8// For more information, see the COPYING file which you should have received
9// along with this program.
10
11function r = %0_o_uitree(a, b)
12 r = %f
13endfunction
diff --git a/scilab/modules/overloading/macros/%H5Object_n_0.sci b/scilab/modules/overloading/macros/%H5Object_n_0.sci
new file mode 100644
index 0000000..139951c
--- /dev/null
+++ b/scilab/modules/overloading/macros/%H5Object_n_0.sci
@@ -0,0 +1,13 @@
1// Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
2// Copyright (C) 2021 - Samuel GOUGEON
3//
4// This file is hereby licensed under the terms of the GNU GPL v2.0,
5// pursuant to article 5.3.4 of the CeCILL v.2.1.
6// This file was originally licensed under the terms of the CeCILL v2.1,
7// and continues to be available under such terms.
8// For more information, see the COPYING file which you should have received
9// along with this program.
10
11function r = %H5Object_n_0(a, b)
12 r = %t
13endfunction
diff --git a/scilab/modules/overloading/macros/%H5Object_o_0.sci b/scilab/modules/overloading/macros/%H5Object_o_0.sci
new file mode 100644
index 0000000..b8c4967
--- /dev/null
+++ b/scilab/modules/overloading/macros/%H5Object_o_0.sci
@@ -0,0 +1,13 @@
1// Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
2// Copyright (C) 2021 - Samuel GOUGEON
3//
4// This file is hereby licensed under the terms of the GNU GPL v2.0,
5// pursuant to article 5.3.4 of the CeCILL v.2.1.
6// This file was originally licensed under the terms of the CeCILL v2.1,
7// and continues to be available under such terms.
8// For more information, see the COPYING file which you should have received
9// along with this program.
10
11function r = %H5Object_o_0(a, b)
12 r = %f
13endfunction
diff --git a/scilab/modules/overloading/macros/%XMLDoc_n_0.sci b/scilab/modules/overloading/macros/%XMLDoc_n_0.sci
new file mode 100644
index 0000000..cb4e1dd
--- /dev/null
+++ b/scilab/modules/overloading/macros/%XMLDoc_n_0.sci
@@ -0,0 +1,13 @@
1// Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
2// Copyright (C) 2021 - Samuel GOUGEON
3//
4// This file is hereby licensed under the terms of the GNU GPL v2.0,
5// pursuant to article 5.3.4 of the CeCILL v.2.1.
6// This file was originally licensed under the terms of the CeCILL v2.1,
7// and continues to be available under such terms.
8// For more information, see the COPYING file which you should have received
9// along with this program.
10
11function r = %XMLDoc_n_0(a, b)
12 r = %t
13endfunction
diff --git a/scilab/modules/overloading/macros/%XMLDoc_o_0.sci b/scilab/modules/overloading/macros/%XMLDoc_o_0.sci
new file mode 100644
index 0000000..da67f0d
--- /dev/null
+++ b/scilab/modules/overloading/macros/%XMLDoc_o_0.sci
@@ -0,0 +1,13 @@
1// Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
2// Copyright (C) 2021 - Samuel GOUGEON
3//
4// This file is hereby licensed under the terms of the GNU GPL v2.0,
5// pursuant to article 5.3.4 of the CeCILL v.2.1.
6// This file was originally licensed under the terms of the CeCILL v2.1,
7// and continues to be available under such terms.
8// For more information, see the COPYING file which you should have received
9// along with this program.
10
11function r = %XMLDoc_o_0(a, b)
12 r = %f
13endfunction
diff --git a/scilab/modules/overloading/macros/%b_n_0.sci b/scilab/modules/overloading/macros/%b_n_0.sci
new file mode 100644
index 0000000..a744995
--- /dev/null
+++ b/scilab/modules/overloading/macros/%b_n_0.sci
@@ -0,0 +1,13 @@
1// Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
2// Copyright (C) 2021 - Samuel GOUGEON
3//
4// This file is hereby licensed under the terms of the GNU GPL v2.0,
5// pursuant to article 5.3.4 of the CeCILL v.2.1.
6// This file was originally licensed under the terms of the CeCILL v2.1,
7// and continues to be available under such terms.
8// For more information, see the COPYING file which you should have received
9// along with this program.
10
11function r = %b_n_0(a, b)
12 r = %t
13endfunction
diff --git a/scilab/modules/overloading/macros/%b_o_0.sci b/scilab/modules/overloading/macros/%b_o_0.sci
new file mode 100644
index 0000000..95ff06a
--- /dev/null
+++ b/scilab/modules/overloading/macros/%b_o_0.sci
@@ -0,0 +1,13 @@
1// Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
2// Copyright (C) 2021 - Samuel GOUGEON
3//
4// This file is hereby licensed under the terms of the GNU GPL v2.0,
5// pursuant to article 5.3.4 of the CeCILL v.2.1.
6// This file was originally licensed under the terms of the CeCILL v2.1,
7// and continues to be available under such terms.
8// For more information, see the COPYING file which you should have received
9// along with this program.
10
11function r = %b_o_0(a, b)
12 r = %f
13endfunction
diff --git a/scilab/modules/overloading/macros/%c_n_0.sci b/scilab/modules/overloading/macros/%c_n_0.sci
new file mode 100644
index 0000000..8adfd73
--- /dev/null
+++ b/scilab/modules/overloading/macros/%c_n_0.sci
@@ -0,0 +1,13 @@
1// Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
2// Copyright (C) 2021 - Samuel GOUGEON
3//
4// This file is hereby licensed under the terms of the GNU GPL v2.0,
5// pursuant to article 5.3.4 of the CeCILL v.2.1.
6// This file was originally licensed under the terms of the CeCILL v2.1,
7// and continues to be available under such terms.
8// For more information, see the COPYING file which you should have received
9// along with this program.
10
11function r = %c_n_0(a, b)
12 r = %t
13endfunction
diff --git a/scilab/modules/overloading/macros/%c_o_0.sci b/scilab/modules/overloading/macros/%c_o_0.sci
new file mode 100644
index 0000000..540df5f
--- /dev/null
+++ b/scilab/modules/overloading/macros/%c_o_0.sci
@@ -0,0 +1,13 @@
1// Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
2// Copyright (C) 2021 - Samuel GOUGEON
3//
4// This file is hereby licensed under the terms of the GNU GPL v2.0,
5// pursuant to article 5.3.4 of the CeCILL v.2.1.
6// This file was originally licensed under the terms of the CeCILL v2.1,
7// and continues to be available under such terms.
8// For more information, see the COPYING file which you should have received
9// along with this program.
10
11function r = %c_o_0(a, b)
12 r = %f
13endfunction
diff --git a/scilab/modules/overloading/macros/%ce_n_0.sci b/scilab/modules/overloading/macros/%ce_n_0.sci
new file mode 100644
index 0000000..3dc5992
--- /dev/null
+++ b/scilab/modules/overloading/macros/%ce_n_0.sci
@@ -0,0 +1,13 @@
1// Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
2// Copyright (C) 2021 - Samuel GOUGEON
3//
4// This file is hereby licensed under the terms of the GNU GPL v2.0,
5// pursuant to article 5.3.4 of the CeCILL v.2.1.
6// This file was originally licensed under the terms of the CeCILL v2.1,
7// and continues to be available under such terms.
8// For more information, see the COPYING file which you should have received
9// along with this program.
10
11function r = %ce_n_0(a, b)
12 r = %t
13endfunction
diff --git a/scilab/modules/overloading/macros/%ce_o_0.sci b/scilab/modules/overloading/macros/%ce_o_0.sci
new file mode 100644
index 0000000..aca83a4
--- /dev/null
+++ b/scilab/modules/overloading/macros/%ce_o_0.sci
@@ -0,0 +1,13 @@
1// Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
2// Copyright (C) 2021 - Samuel GOUGEON
3//
4// This file is hereby licensed under the terms of the GNU GPL v2.0,
5// pursuant to article 5.3.4 of the CeCILL v.2.1.
6// This file was originally licensed under the terms of the CeCILL v2.1,
7// and continues to be available under such terms.
8// For more information, see the COPYING file which you should have received
9// along with this program.
10
11function r = %ce_o_0(a, b)
12 r = %f
13endfunction
diff --git a/scilab/modules/overloading/macros/%dir_n_0.sci b/scilab/modules/overloading/macros/%dir_n_0.sci
new file mode 100644
index 0000000..2b41018
--- /dev/null
+++ b/scilab/modules/overloading/macros/%dir_n_0.sci
@@ -0,0 +1,13 @@
1// Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
2// Copyright (C) 2021 - Samuel GOUGEON
3//
4// This file is hereby licensed under the terms of the GNU GPL v2.0,
5// pursuant to article 5.3.4 of the CeCILL v.2.1.
6// This file was originally licensed under the terms of the CeCILL v2.1,
7// and continues to be available under such terms.
8// For more information, see the COPYING file which you should have received
9// along with this program.
10
11function r = %dir_n_0(a, b)
12 r = %t
13endfunction
diff --git a/scilab/modules/overloading/macros/%dir_o_0.sci b/scilab/modules/overloading/macros/%dir_o_0.sci
new file mode 100644
index 0000000..020bdec
--- /dev/null
+++ b/scilab/modules/overloading/macros/%dir_o_0.sci
@@ -0,0 +1,13 @@
1// Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
2// Copyright (C) 2021 - Samuel GOUGEON
3//
4// This file is hereby licensed under the terms of the GNU GPL v2.0,
5// pursuant to article 5.3.4 of the CeCILL v.2.1.
6// This file was originally licensed under the terms of the CeCILL v2.1,
7// and continues to be available under such terms.
8// For more information, see the COPYING file which you should have received
9// along with this program.
10
11function r = %dir_o_0(a, b)
12 r = %f
13endfunction
diff --git a/scilab/modules/overloading/macros/%f_n_0.sci b/scilab/modules/overloading/macros/%f_n_0.sci
new file mode 100644
index 0000000..fbfdbf3
--- /dev/null
+++ b/scilab/modules/overloading/macros/%f_n_0.sci
@@ -0,0 +1,13 @@
1// Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
2// Copyright (C) 2021 - Samuel GOUGEON
3//
4// This file is hereby licensed under the terms of the GNU GPL v2.0,
5// pursuant to article 5.3.4 of the CeCILL v.2.1.
6// This file was originally licensed under the terms of the CeCILL v2.1,
7// and continues to be available under such terms.
8// For more information, see the COPYING file which you should have received
9// along with this program.
10
11function r = %f_n_0(a, b)
12 r = %t
13endfunction
diff --git a/scilab/modules/overloading/macros/%f_o_0.sci b/scilab/modules/overloading/macros/%f_o_0.sci
new file mode 100644
index 0000000..b59ffe9
--- /dev/null
+++ b/scilab/modules/overloading/macros/%f_o_0.sci
@@ -0,0 +1,13 @@
1// Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
2// Copyright (C) 2021 - Samuel GOUGEON
3//
4// This file is hereby licensed under the terms of the GNU GPL v2.0,
5// pursuant to article 5.3.4 of the CeCILL v.2.1.
6// This file was originally licensed under the terms of the CeCILL v2.1,
7// and continues to be available under such terms.
8// For more information, see the COPYING file which you should have received
9// along with this program.
10
11function r = %f_o_0(a, b)
12 r = %f
13endfunction
diff --git a/scilab/modules/overloading/macros/%fptr_n_0.sci b/scilab/modules/overloading/macros/%fptr_n_0.sci
new file mode 100644
index 0000000..8667516
--- /dev/null
+++ b/scilab/modules/overloading/macros/%fptr_n_0.sci
@@ -0,0 +1,13 @@
1// Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
2// Copyright (C) 2021 - Samuel GOUGEON
3//
4// This file is hereby licensed under the terms of the GNU GPL v2.0,
5// pursuant to article 5.3.4 of the CeCILL v.2.1.
6// This file was originally licensed under the terms of the CeCILL v2.1,
7// and continues to be available under such terms.
8// For more information, see the COPYING file which you should have received
9// along with this program.
10
11function r = %fptr_n_0(a, b)
12 r = %t
13endfunction
diff --git a/scilab/modules/overloading/macros/%fptr_o_0.sci b/scilab/modules/overloading/macros/%fptr_o_0.sci
new file mode 100644
index 0000000..0f1c74e
--- /dev/null
+++ b/scilab/modules/overloading/macros/%fptr_o_0.sci
@@ -0,0 +1,13 @@
1// Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
2// Copyright (C) 2021 - Samuel GOUGEON
3//
4// This file is hereby licensed under the terms of the GNU GPL v2.0,
5// pursuant to article 5.3.4 of the CeCILL v.2.1.
6// This file was originally licensed under the terms of the CeCILL v2.1,
7// and continues to be available under such terms.
8// For more information, see the COPYING file which you should have received
9// along with this program.
10
11function r = %fptr_o_0(a, b)
12 r = %f
13endfunction
diff --git a/scilab/modules/overloading/macros/%function_n_0.sci b/scilab/modules/overloading/macros/%function_n_0.sci
new file mode 100644
index 0000000..0d9fd4b
--- /dev/null
+++ b/scilab/modules/overloading/macros/%function_n_0.sci
@@ -0,0 +1,13 @@
1// Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
2// Copyright (C) 2021 - Samuel GOUGEON
3//
4// This file is hereby licensed under the terms of the GNU GPL v2.0,
5// pursuant to article 5.3.4 of the CeCILL v.2.1.
6// This file was originally licensed under the terms of the CeCILL v2.1,
7// and continues to be available under such terms.
8// For more information, see the COPYING file which you should have received
9// along with this program.
10
11function r = %function_n_0(a, b)
12 r = %t
13endfunction
diff --git a/scilab/modules/overloading/macros/%function_o_0.sci b/scilab/modules/overloading/macros/%function_o_0.sci
new file mode 100644
index 0000000..9e1be52
--- /dev/null
+++ b/scilab/modules/overloading/macros/%function_o_0.sci
@@ -0,0 +1,13 @@
1// Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
2// Copyright (C) 2021 - Samuel GOUGEON
3//
4// This file is hereby licensed under the terms of the GNU GPL v2.0,
5// pursuant to article 5.3.4 of the CeCILL v.2.1.
6// This file was originally licensed under the terms of the CeCILL v2.1,
7// and continues to be available under such terms.
8// For more information, see the COPYING file which you should have received
9// along with this program.
10
11function r = %function_o_0(a, b)
12 r = %f
13endfunction
diff --git a/scilab/modules/overloading/macros/%h_n_0.sci b/scilab/modules/overloading/macros/%h_n_0.sci
new file mode 100644
index 0000000..0008bce
--- /dev/null
+++ b/scilab/modules/overloading/macros/%h_n_0.sci
@@ -0,0 +1,13 @@
1// Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
2// Copyright (C) 2021 - Samuel GOUGEON
3//
4// This file is hereby licensed under the terms of the GNU GPL v2.0,
5// pursuant to article 5.3.4 of the CeCILL v.2.1.
6// This file was originally licensed under the terms of the CeCILL v2.1,
7// and continues to be available under such terms.
8// For more information, see the COPYING file which you should have received
9// along with this program.
10
11function r = %h_n_0(a, b)
12 r = %t
13endfunction
diff --git a/scilab/modules/overloading/macros/%h_o_0.sci b/scilab/modules/overloading/macros/%h_o_0.sci
new file mode 100644
index 0000000..8758d61
--- /dev/null
+++ b/scilab/modules/overloading/macros/%h_o_0.sci
@@ -0,0 +1,13 @@
1// Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
2// Copyright (C) 2021 - Samuel GOUGEON
3//
4// This file is hereby licensed under the terms of the GNU GPL v2.0,
5// pursuant to article 5.3.4 of the CeCILL v.2.1.
6// This file was originally licensed under the terms of the CeCILL v2.1,
7// and continues to be available under such terms.
8// For more information, see the COPYING file which you should have received
9// along with this program.
10
11function r = %h_o_0(a, b)
12 r = %f
13endfunction
diff --git a/scilab/modules/overloading/macros/%i_n_0.sci b/scilab/modules/overloading/macros/%i_n_0.sci
new file mode 100644
index 0000000..f18acde
--- /dev/null
+++ b/scilab/modules/overloading/macros/%i_n_0.sci
@@ -0,0 +1,13 @@
1// Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
2// Copyright (C) 2021 - Samuel GOUGEON
3//
4// This file is hereby licensed under the terms of the GNU GPL v2.0,
5// pursuant to article 5.3.4 of the CeCILL v.2.1.
6// This file was originally licensed under the terms of the CeCILL v2.1,
7// and continues to be available under such terms.
8// For more information, see the COPYING file which you should have received
9// along with this program.
10
11function r = %i_n_0(a, b)
12 r = %t
13endfunction
diff --git a/scilab/modules/overloading/macros/%i_o_0.sci b/scilab/modules/overloading/macros/%i_o_0.sci
new file mode 100644
index 0000000..9625985
--- /dev/null
+++ b/scilab/modules/overloading/macros/%i_o_0.sci
@@ -0,0 +1,13 @@
1// Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
2// Copyright (C) 2021 - Samuel GOUGEON
3//
4// This file is hereby licensed under the terms of the GNU GPL v2.0,