Lines Matching full:test_assert
59 test_assert = $(if $(filter undefined,$(origin 2)),$(eval 2 :=))$(shell $(ECHO) -n $(if $(call seq,$1,$2),$(call test_pass,$1,$2),$(call test_fail,$1,$2)) >&2)
62 $(call test_assert,$(call not,$(true)),$(false))
63 $(call test_assert,$(call not,$(false)),$(true))
67 $(call test_assert,$(call or,$(true),$(true)),$(true))
68 $(call test_assert,$(call or,$(true),$(false)),$(true))
69 $(call test_assert,$(call or,$(false),$(true)),$(true))
70 $(call test_assert,$(call or,$(false),$(false)),$(false))
74 $(call test_assert,$(call and,$(true),$(true)),$(true))
75 $(call test_assert,$(call and,$(true),$(false)),$(false))
76 $(call test_assert,$(call and,$(false),$(true)),$(false))
77 $(call test_assert,$(call and,$(false),$(false)),$(false))
81 $(call test_assert,$(call xor,$(true),$(true)),$(false))
82 $(call test_assert,$(call xor,$(true),$(false)),$(true))
83 $(call test_assert,$(call xor,$(false),$(true)),$(true))
84 $(call test_assert,$(call xor,$(false),$(false)),$(false))
88 $(call test_assert,$(call nand,$(true),$(true)),$(false))
89 $(call test_assert,$(call nand,$(true),$(false)),$(true))
90 $(call test_assert,$(call nand,$(false),$(true)),$(true))
91 $(call test_assert,$(call nand,$(false),$(false)),$(true))
95 $(call test_assert,$(call nor,$(true),$(true)),$(false))
96 $(call test_assert,$(call nor,$(true),$(false)),$(false))
97 $(call test_assert,$(call nor,$(false),$(true)),$(false))
98 $(call test_assert,$(call nor,$(false),$(false)),$(true))
102 $(call test_assert,$(call xnor,$(true),$(true)),$(true))
103 $(call test_assert,$(call xnor,$(true),$(false)),$(false))
104 $(call test_assert,$(call xnor,$(false),$(true)),$(false))
105 $(call test_assert,$(call xnor,$(false),$(false)),$(true))
109 $(call test_assert,$(call first,1 2 3),1)
110 $(call test_assert,$(call first,1),1)
111 $(call test_assert,$(call first,),)
115 $(call test_assert,$(call last,1 2 3),3)
116 $(call test_assert,$(call last,1),1)
117 $(call test_assert,$(call last,),)
121 $(call test_assert,$(call rest,1 2 3),2 3)
122 $(call test_assert,$(call rest,1),)
123 $(call test_assert,$(call rest,),)
127 $(call test_assert,$(call chop,1 2 3),1 2)
128 $(call test_assert,$(call chop,1 2 3 4),1 2 3)
129 $(call test_assert,$(call chop,1),)
130 $(call test_assert,$(call chop,),)
134 $(call test_assert,$(call length,1 2 3),3)
135 $(call test_assert,$(call length,1 2 3 4),4)
136 $(call test_assert,$(call length,1),1)
137 $(call test_assert,$(call length,),0)
141 $(call test_assert,$(call map,origin,__undefined map MAKE),undefined file default)
142 $(call test_assert,$(call map,origin,),)
147 $(call test_assert,$(call pairmap,addsuffix,2 1 3,a b c),a2 b1 c3)
148 $(call test_assert,$(call pairmap,addprefix,2 1 3,a b c d),2a 1b 3c d)
149 $(call test_assert,$(call pairmap,addprefix,2 1 3 4,a b c),2a 1b 3c)
150 $(call test_assert,$(call pairmap,joinem,2 1 3 4,a b c),2a 1b 3c 4)
154 $(call test_assert,$(call seq,abc,abc),T)
155 $(call test_assert,$(call seq,x,),)
156 $(call test_assert,$(call seq,,x),)
157 $(call test_assert,$(call seq,x,x),T)
158 $(call test_assert,$(call seq,a%c,abc),)
159 $(call test_assert,$(call seq,abc,a%c),)
160 $(call test_assert,$(call seq,abc,ABC),)
161 $(call test_assert,$(call seq,abc,),)
162 $(call test_assert,$(call seq,,),T)
163 $(call test_assert,$(call seq,a b c,a b c),T)
164 $(call test_assert,$(call seq,aa% bb% cc,aa% bb% cc),T)
165 $(call test_assert,$(call seq,aa% bb% cc,aa% bb cc),)
166 $(call test_assert,$(call seq,aa% bb% cc,xx yy zz),)
170 $(call test_assert,$(call sne,abc,abc),)
171 $(call test_assert,$(call sne,x,),T)
172 $(call test_assert,$(call sne,,x),T)
173 $(call test_assert,$(call sne,x,x),)
174 $(call test_assert,$(call sne,abc,ABC),T)
175 $(call test_assert,$(call sne,abc,),T)
176 $(call test_assert,$(call sne,,),)
177 $(call test_assert,$(call sne,a b c,a b c),)
178 $(call test_assert,$(call sne,aa% bb% cc,aa% bb% cc),)
179 $(call test_assert,$(call sne,aa% bb% cc,aa% bb cc),T)
183 $(call test_assert,$(call strlen,),0)
184 $(call test_assert,$(call strlen,a),1)
185 $(call test_assert,$(call strlen,a b),3)
186 $(call test_assert,$(call strlen,a ),2)
187 $(call test_assert,$(call strlen, a),2)
188 $(call test_assert,$(call strlen, ),2)
189 $(call test_assert,$(call strlen, ),3)
190 $(call test_assert,$(call strlen, ),4)
194 $(call test_assert,$(call substr,xyz,1,1),x)
195 $(call test_assert,$(call substr,xyz,1,2),xy)
196 $(call test_assert,$(call substr,xyz,2,3),yz)
197 $(call test_assert,$(call substr,some string,1,1),s)
198 $(call test_assert,$(call substr,some string,1,2),so)
199 $(call test_assert,$(call substr,some string,1,3),som)
200 $(call test_assert,$(call substr,some string,1,4),some)
201 $(call test_assert,$(call substr,some string,1,5),some )
202 $(call test_assert,$(call substr,some string,1,6),some s)
203 $(call test_assert,$(call substr,some string,5,5), )
204 $(call test_assert,$(call substr,some string,5,6), s)
205 $(call test_assert,$(call substr,some string,5,7), st)
206 $(call test_assert,$(call substr,some string,5,8), str)
207 $(call test_assert,$(call substr,some string,1,100),some string)
211 $(call test_assert,$(call lc,The Quick Brown Fox),the quick brown fox)
212 $(call test_assert,$(call lc,the1 quick2 brown3 fox4),the1 quick2 brown3 fox4)
213 $(call test_assert,$(call lc,The_),the_)
214 $(call test_assert,$(call lc,),)
218 $(call test_assert,$(call uc,The Quick Brown Fox),THE QUICK BROWN FOX)
219 $(call test_assert,$(call uc,the1 quick2 brown3 fox4),THE1 QUICK2 BROWN3 FOX4)
220 $(call test_assert,$(call uc,The_),THE_)
221 $(call test_assert,$(call uc,),)
225 $(call test_assert,$(call tr,A B C,1 2 3,CAPITAL),31PIT1L)
226 $(call test_assert,$(call tr,a b c,1 2 3,CAPITAL),CAPITAL)
227 $(call test_assert,$(call tr,E L I,3 1 1,I AM ELITE),1 AM 311T3)
231 $(call test_assert,$(call leq,1 2 3,1 2 3),T)
232 $(call test_assert,$(call leq,1 2 3,1 2 3 4),)
233 $(call test_assert,$(call leq,1 2 3 4,1 2 3),)
234 $(call test_assert,$(call leq,1,1),T)
235 $(call test_assert,$(call leq,,),T)
239 $(call test_assert,$(call lne,1 2 3,1 2 3),)
240 $(call test_assert,$(call lne,1 2 3,1 2 3 4),T)
241 $(call test_assert,$(call lne,1 2 3 4,1 2 3),T)
242 $(call test_assert,$(call lne,1,1),)
243 $(call test_assert,$(call lne,,),)
247 $(call test_assert,$(empty_set),)
248 $(call test_assert,$(empty_set),$(call set_create,))
252 $(call test_assert,$(call set_create,),)
253 $(call test_assert,$(call set_create,1 2 2 3),1 2 3)
254 $(call test_assert,$(call set_create,2 1 1 2 2 3),1 2 3)
255 $(call test_assert,$(call set_create,1),1)
259 $(call test_assert,$(call set_insert,1,$(empty_set)),1)
260 $(call test_assert,$(call set_insert,1,$(call set_create,1)),1)
261 $(call test_assert,$(call set_insert,1,$(call set_create,1 2)),1 2)
262 $(call test_assert,$(call set_insert,0,$(call set_create,1 2)),0 1 2)
266 $(call test_assert,$(call set_remove,1,$(empty_set)),$(empty_set))
267 $(call test_assert,$(call set_remove,1,$(call set_create,1 2)),2)
268 $(call test_assert,$(call set_remove,1,$(call set_create,1 11 2)),11 2)
269 $(call test_assert,$(call set_remove,0,$(call set_create,1 2)),1 2)
273 $(call test_assert,$(call set_is_member,1,$(empty_set)),)
274 $(call test_assert,$(call set_is_member,1,$(call set_create,2 3)),)
275 $(call test_assert,$(call set_is_member,1,$(call set_create,1 2 3)),T)
276 $(call test_assert,$(call set_is_member,1,$(call set_create,1)),T)
280 $(call test_assert,$(call set_union,,),)
281 $(call test_assert,$(call set_union,1 2,),1 2)
282 $(call test_assert,$(call set_union,,3 4),3 4)
283 $(call test_assert,$(call set_union,1 2,3 4),1 2 3 4)
284 $(call test_assert,$(call set_union,1 2 3,3 4 5),1 2 3 4 5)
288 $(call test_assert,$(call set_intersection,,),)
289 $(call test_assert,$(call set_intersection,1 2,),)
290 $(call test_assert,$(call set_intersection,,3 4),)
291 $(call test_assert,$(call set_intersection,1 2,3 4),)
292 $(call test_assert,$(call set_intersection,1 2 3 4,3 4 5),3 4)
296 $(call test_assert,$(call set_is_subset,,),T)
297 $(call test_assert,$(call set_is_subset,1 2,),)
298 $(call test_assert,$(call set_is_subset,,3 4),T)
299 $(call test_assert,$(call set_is_subset,1 2,3 4),)
300 $(call test_assert,$(call set_is_subset,1 2,1 2 3 4 5),T)
301 $(call test_assert,$(call set_is_subset,1 2,1 2),T)
302 $(call test_assert,$(call set_is_subset,1 2,1 3 4 5),)
306 $(call test_assert,$(call set_equal,,),T)
307 $(call test_assert,$(call set_equal,1,),)
308 $(call test_assert,$(call set_equal,,1),)
309 $(call test_assert,$(call set_equal,1,1),T)
310 $(call test_assert,$(call set_equal,1 2,),)
311 $(call test_assert,$(call set_equal,,1 2),)
312 $(call test_assert,$(call set_equal,1 2,1 2 3),)
316 $(call test_assert,$(call int_encode,0),)
317 $(call test_assert,$(call int_encode,1),x)
318 $(call test_assert,$(call int_encode,2),x x)
319 $(call test_assert,$(call int_encode,10),x x x x x x x x x x)
323 $(call test_assert,$(call int_decode,),0)
324 $(call test_assert,$(call int_decode,x),1)
325 $(call test_assert,$(call int_decode,x x),2)
326 $(call test_assert,$(call int_decode,x x x x x x x x x x),10)
330 $(call test_assert,$(call int_plus,$(call int_encode,3),$(call int_encode,4)),$(call int_encode,7))
331 $(call test_assert,$(call int_plus,$(call int_encode,0),$(call int_encode,4)),$(call int_encode,4))
332 $(call test_assert,$(call int_plus,$(call int_encode,3),$(call int_encode,0)),$(call int_encode,3))
333 $(call test_assert,$(call int_plus,$(call int_encode,0),$(call int_encode,0)),$(call int_encode,0))
334 $(call test_assert,$(call int_plus,$(call int_encode,1),$(call int_encode,0)),$(call int_encode,1))
338 $(call test_assert,$(call plus,3,4),7)
339 $(call test_assert,$(call plus,4,3),7)
340 $(call test_assert,$(call plus,0,4),4)
341 $(call test_assert,$(call plus,3,0),3)
342 $(call test_assert,$(call plus,0,0),0)
347 $(call test_assert,$(call int_subtract,$(call int_encode,3),$(call int_encode,4)),Subtraction underflow)
348 $(call test_assert,$(call int_subtract,$(call int_encode,4),$(call int_encode,3)),$(call int_encode,1))
349 $(call test_assert,$(call int_subtract,$(call int_encode,3),$(call int_encode,0)),$(call int_encode,3))
350 $(call test_assert,$(call int_subtract,$(call int_encode,0),$(call int_encode,0)),$(call int_encode,0))
351 $(call test_assert,$(call int_subtract,$(call int_encode,1),$(call int_encode,0)),$(call int_encode,1))
356 $(call test_assert,$(call subtract,3,4),10)
357 $(call test_assert,$(call subtract,4,3),1)
358 $(call test_assert,$(call subtract,3,0),3)
359 $(call test_assert,$(call subtract,0,0),0)
363 $(call test_assert,$(call int_multiply,$(call int_encode,3),$(call int_encode,4)),$(call int_encode,12))
364 $(call test_assert,$(call int_multiply,$(call int_encode,4),$(call int_encode,3)),$(call int_encode,12))
365 $(call test_assert,$(call int_multiply,$(call int_encode,3),$(call int_encode,0)),$(call int_encode,0))
366 $(call test_assert,$(call int_multiply,$(call int_encode,0),$(call int_encode,0)),$(call int_encode,0))
367 $(call test_assert,$(call int_multiply,$(call int_encode,1),$(call int_encode,0)),$(call int_encode,0))
371 $(call test_assert,$(call multiply,3,4),12)
372 $(call test_assert,$(call multiply,4,3),12)
373 $(call test_assert,$(call multiply,3,0),0)
374 $(call test_assert,$(call multiply,0,3),0)
375 $(call test_assert,$(call multiply,0,0),0)
380 $(call test_assert,$(call int_divide,$(call int_encode,3),$(call int_encode,4)),$(call int_encode,0))
381 $(call test_assert,$(call int_divide,$(call int_encode,4),$(call int_encode,3)),$(call int_encode,1))
382 $(call test_assert,$(call int_divide,$(call int_encode,31),$(call int_encode,3)),$(call int_encode,10))
383 $(call test_assert,$(call int_divide,$(call int_encode,30),$(call int_encode,3)),$(call int_encode,10))
384 $(call test_assert,$(call int_divide,$(call int_encode,29),$(call int_encode,3)),$(call int_encode,9))
385 $(call test_assert,$(call int_divide,$(call int_encode,0),$(call int_encode,1)),$(call int_encode,0))
386 $(call test_assert,$(call int_divide,$(call int_encode,1),$(call int_encode,0)),Division by zero)
391 $(call test_assert,$(call divide,3,4),0)
392 $(call test_assert,$(call divide,4,3),1)
393 $(call test_assert,$(call divide,21,2),10)
394 $(call test_assert,$(call divide,20,2),10)
395 $(call test_assert,$(call divide,19,2),9)
396 $(call test_assert,$(call divide,1,0),10)
400 $(call test_assert,$(call get,myarray,key1),)
402 $(call test_assert,$(call get,myarray,key1),value1)
403 $(call test_assert,$(call get,myarray,key2),)
404 $(call test_assert,$(call get,myarray1,key1),)
405 $(call test_assert,$(call defined,myarray,key1),T)
406 $(call test_assert,$(call defined,myarray,key2),)
407 $(call test_assert,$(call defined,myarray1,key1),)
409 $(call test_assert,$(call keys,myarray),key1 key2)
410 test_assert,$(call keys,myarray1),)
414 $(call test_assert,$(call pop,mystack),)
415 $(call test_assert,$(call push,mystack,e2))
417 $(call test_assert,$(call pop,mystack),e1)
418 $(call test_assert,$(call pop,mystack),e2)
421 $(call test_assert,$(call pop,mystack),f1)
423 $(call test_assert,$(call peek,mystack),f2)
424 $(call test_assert,$(call depth,mystack),2)
425 $(call test_assert,$(call pop,mystack),f2)
426 $(call test_assert,$(call depth,mystack),1)
427 $(call test_assert,$(call pop,myotherstack),)
431 $(call test_assert,$(call reverse,),)
432 $(call test_assert,$(call reverse,1),1)
433 $(call test_assert,$(call reverse,1 2),2 1)
434 $(call test_assert,$(call reverse,1 2 3),3 2 1)
438 $(call test_assert,$(call uniq,),)
439 $(call test_assert,$(call uniq,a),a)
440 $(call test_assert,$(call uniq,a a),a)
441 $(call test_assert,$(call uniq,a aa),a aa)
442 $(call test_assert,$(call uniq,a aa a),a aa)
443 $(call test_assert,$(call uniq,a b ba ab b a a ba a),a b ba ab)
448 $(call test_assert,$(call split,$c,comma$cseparated$cstring),comma separated string)
449 $(call test_assert,$(call split,*,star*field*record),star field record)
450 $(call test_assert,$(call split,*,star*),star)
451 $(call test_assert,$(call split,*,star*field),star field)
452 $(call test_assert,$(call split,*,star****field),star field)
453 $(call test_assert,$(call split,*,),)
457 $(call test_assert,$(call merge,$c,list of things),list$cof$cthings)
458 $(call test_assert,$(call merge,*,list of things),list*of*things)
459 $(call test_assert,$(call merge,*,list),list)
460 $(call test_assert,$(call merge,*,),)
464 $(call test_assert,$(call int_max,$(call int_encode,2),$(call int_encode,1)),$(call int_encode,2))
465 $(call test_assert,$(call int_max,$(call int_encode,1),$(call int_encode,2)),$(call int_encode,2))
466 $(call test_assert,$(call int_max,$(call int_encode,2),$(call int_encode,0)),$(call int_encode,2))
467 $(call test_assert,$(call int_max,$(call int_encode,0),$(call int_encode,2)),$(call int_encode,2))
468 $(call test_assert,$(call int_max,$(call int_encode,2),$(call int_encode,2)),$(call int_encode,2))
469 $(call test_assert,$(call int_max,$(call int_encode,0),$(call int_encode,0)),$(call int_encode,0))
473 $(call test_assert,$(call max,2,1),2)
474 $(call test_assert,$(call max,1,2),2)
475 $(call test_assert,$(call max,2,0),2)
476 $(call test_assert,$(call max,0,2),2)
477 $(call test_assert,$(call max,2,2),2)
478 $(call test_assert,$(call max,0,0),0)
482 $(call test_assert,$(call int_min,$(call int_encode,2),$(call int_encode,1)),$(call int_encode,1))
483 $(call test_assert,$(call int_min,$(call int_encode,1),$(call int_encode,2)),$(call int_encode,1))
484 $(call test_assert,$(call int_min,$(call int_encode,2),$(call int_encode,0)),$(call int_encode,0))
485 $(call test_assert,$(call int_min,$(call int_encode,0),$(call int_encode,2)),$(call int_encode,0))
486 $(call test_assert,$(call int_min,$(call int_encode,2),$(call int_encode,2)),$(call int_encode,2))
487 $(call test_assert,$(call int_min,$(call int_encode,0),$(call int_encode,0)),$(call int_encode,0))
491 $(call test_assert,$(call min,2,1),1)
492 $(call test_assert,$(call min,1,2),1)
493 $(call test_assert,$(call min,2,0),0)
494 $(call test_assert,$(call min,0,2),0)
495 $(call test_assert,$(call min,2,2),2)
496 $(call test_assert,$(call min,0,0),0)
501 $(call test_assert,$(call assert,$(true),ignore),)
502 $(call test_assert,$(call assert,$(false),failed),Assertion failure: failed)
503 $(call test_assert,$(call assert_exists,gmsl-tests),)
504 $(call test_assert,$(call assert_exists,MISSING-gmsl-tests),Assertion failure: file 'MISSING-gmsl-tests' missing)
508 $(call test_assert,$(call int_inc,$(call int_encode,0)),$(call int_encode,1))
509 $(call test_assert,$(call int_inc,$(call int_encode,1)),$(call int_encode,2))
510 $(call test_assert,$(call int_inc,$(call int_encode,4)),$(call int_encode,5))
511 $(call test_assert,$(call int_inc,$(call int_encode,10)),$(call int_encode,11))
515 $(call test_assert,$(call inc,0),1)
516 $(call test_assert,$(call inc,1),2)
517 $(call test_assert,$(call inc,4),5)
518 $(call test_assert,$(call inc,10),11)
523 $(call test_assert,$(call int_dec,$(call int_encode,0)),Decrement underflow)
524 $(call test_assert,$(call int_dec,$(call int_encode,1)),$(call int_encode,0))
525 $(call test_assert,$(call int_dec,$(call int_encode,4)),$(call int_encode,3))
526 $(call test_assert,$(call int_dec,$(call int_encode,10)),$(call int_encode,9))
531 $(call test_assert,$(call dec,0),10)
532 $(call test_assert,$(call dec,1),0)
533 $(call test_assert,$(call dec,4),3)
534 $(call test_assert,$(call dec,10),9)
538 $(call test_assert,$(call int_double,$(call int_encode,0)),$(call int_encode,0))
539 $(call test_assert,$(call int_double,$(call int_encode,1)),$(call int_encode,2))
540 $(call test_assert,$(call int_double,$(call int_encode,4)),$(call int_encode,8))
544 $(call test_assert,$(call double,0),0)
545 $(call test_assert,$(call double,1),2)
546 $(call test_assert,$(call double,4),8)
550 $(call test_assert,$(call int_halve,$(call int_encode,0)),$(call int_encode,0))
551 $(call test_assert,$(call int_halve,$(call int_encode,2)),$(call int_encode,1))
552 $(call test_assert,$(call int_halve,$(call int_encode,8)),$(call int_encode,4))
553 $(call test_assert,$(call int_halve,$(call int_encode,7)),$(call int_encode,3))
557 $(call test_assert,$(call halve,0),0)
558 $(call test_assert,$(call halve,2),1)
559 $(call test_assert,$(call halve,8),4)
560 $(call test_assert,$(call halve,7),3)
564 $(call test_assert,$(call gt,2,3),)
565 $(call test_assert,$(call gt,3,2),$(true))
566 $(call test_assert,$(call gt,2,2),)
570 $(call test_assert,$(call gte,2,3),)
571 $(call test_assert,$(call gte,3,2),$(true))
572 $(call test_assert,$(call gte,2,2),$(true))
576 $(call test_assert,$(call lt,2,3),$(true))
577 $(call test_assert,$(call lt,3,2),)
578 $(call test_assert,$(call lt,2,2),)
582 $(call test_assert,$(call lte,2,3),$(true))
583 $(call test_assert,$(call lte,3,2),)
584 $(call test_assert,$(call lte,2,2),$(true))
588 $(call test_assert,$(call eq,2,3),)
589 $(call test_assert,$(call eq,3,2),)
590 $(call test_assert,$(call eq,2,2),$(true))
594 $(call test_assert,$(call ne,2,3),$(true))
595 $(call test_assert,$(call ne,3,2),$(true))
596 $(call test_assert,$(call ne,2,2),)
600 $(call test_assert,$(call int_gt,$(call int_encode,2),$(call int_encode,3)),)
601 $(call test_assert,$(call int_gt,$(call int_encode,3),$(call int_encode,2)),$(true))
602 $(call test_assert,$(call int_gt,$(call int_encode,2),$(call int_encode,2)),)
606 $(call test_assert,$(call int_gte,$(call int_encode,2),$(call int_encode,3)),)
607 $(call test_assert,$(call int_gte,$(call int_encode,3),$(call int_encode,2)),$(true))
608 $(call test_assert,$(call int_gte,$(call int_encode,2),$(call int_encode,2)),$(true))
612 $(call test_assert,$(call int_lt,$(call int_encode,2),$(call int_encode,3)),$(true))
613 $(call test_assert,$(call int_lt,$(call int_encode,3),$(call int_encode,2)),)
614 $(call test_assert,$(call int_lt,$(call int_encode,2),$(call int_encode,2)),)
618 $(call test_assert,$(call int_lte,$(call int_encode,2),$(call int_encode,3)),$(true))
619 $(call test_assert,$(call int_lte,$(call int_encode,3),$(call int_encode,2)),)
620 $(call test_assert,$(call int_lte,$(call int_encode,2),$(call int_encode,2)),$(true))
624 $(call test_assert,$(call int_eq,$(call int_encode,2),$(call int_encode,3)),)
625 $(call test_assert,$(call int_eq,$(call int_encode,3),$(call int_encode,2)),)
626 $(call test_assert,$(call int_eq,$(call int_encode,2),$(call int_encode,2)),$(true))
630 $(call test_assert,$(call int_ne,$(call int_encode,2),$(call int_encode,3)),$(true))
631 $(call test_assert,$(call int_ne,$(call int_encode,3),$(call int_encode,2)),$(true))
632 $(call test_assert,$(call int_ne,$(call int_encode,2),$(call int_encode,2)),)
636 $(call test_assert,$(call gmsl_compatible,$(gmsl_version)),$(true))
637 $(call test_assert,$(call gmsl_compatible,0 9 0),$(true))
638 $(call test_assert,$(call gmsl_compatible,0 0 1),$(true))
639 $(call test_assert,$(call gmsl_compatible,0 0 0),$(true))
640 $(call test_assert,$(call gmsl_compatible,2 0 0),)
641 $(call test_assert,$(call gmsl_compatible,1 1 0),)
642 $(call test_assert,$(call gmsl_compatible,1 0 8),$(true))
643 $(call test_assert,$(call gmsl_compatible,1 0 8),$(true))
644 $(call test_assert,$(call gmsl_compatible,1 0 10),$(true))
645 $(call test_assert,$(call gmsl_compatible,1 0 11),$(true))
646 $(call test_assert,$(call gmsl_compatible,1 0 12),)