integer test_bc190 array Comparison_nextFree151 integer Comparison_firstFree142 integer Comparison_maxIndex553 array Comparison_typeId501 integer test_bc190 = new_BoolComp187() integer Comparison_firstFree142 = 0 integer Comparison_maxIndex553 = 0 function initGlobals212() { Comparison_firstFree_142 = 0; Comparison_maxIndex_553 = 0; } function main166() { initGlobals212(); init_test371(); } function config396() { } function init_test371() { test_bc_190 = new_BoolComp187(); if dispatch_Comparison_test_Comparison_leq200(test_bc_190, booleanToIndex693(false), booleanToIndex693(true)) { testSuccess617(); } else { }; } function booleanToIndex693(boolean b563) returns integer { if b_563 { return 1; } else { }; return 0; } function booleanFromIndex173(integer i507) returns boolean { return (i_507 != 0); } IS_NATIVE function testSuccess617() { } function test_BoolComp_leq_wrapper173(integer this800, any t147, any u180) returns boolean { return BoolComp_leq834(this_800, booleanFromIndex173(t_147), booleanFromIndex173(u_180)); } function BoolComp_leq834(integer this214, boolean a452, boolean b934) returns boolean { return ((not a_452) or b_934); } function BoolComp_init344(integer this583) { } function new_BoolComp187() returns integer { local integer this827 this_827 = alloc_BoolComp105(); construct_BoolComp152(this_827); return this_827; } function construct_BoolComp152(integer this650) { BoolComp_init344(this_650); } function alloc_BoolComp105() returns integer { local integer this739 if (Comparison_firstFree_142 == 0) { if (Comparison_maxIndex_553 < 32768) { Comparison_maxIndex_553 = (Comparison_maxIndex_553 + 1); this_739 = Comparison_maxIndex_553; Comparison_typeId_501[this_739] = 2; } else { error949("Out of memory: Could not create BoolComp."); this_739 = 0; }; } else { Comparison_firstFree_142 = (Comparison_firstFree_142 - 1); this_739 = Comparison_nextFree_151[Comparison_firstFree_142]; Comparison_typeId_501[this_739] = 2; }; return this_739; } function error949(string msg200) { $debugPrint135((msg_200 + (" " + #getStackTrace()))); } function dispatch_Comparison_test_Comparison_leq200(integer this186, any t480, any u152) returns boolean { local boolean test_Comparison_leq_result274 if (Comparison_typeId_501[this_186] == 0) { if (this_186 == 0) { error949("Nullpointer exception when calling Comparison.leq"); } else { error949("Called Comparison.leq on invalid object."); }; } else { }; test_Comparison_leq_result_274 = test_BoolComp_leq_wrapper173(this_186, t_480, u_152); return test_Comparison_leq_result_274; }