integer test_bc172 array Comparison_nextFree421 integer Comparison_firstFree184 integer Comparison_maxIndex197 array Comparison_typeId198 integer test_bc172 = new_BoolComp445() integer Comparison_firstFree184 = 0 integer Comparison_maxIndex197 = 0 function initGlobals176() { } function main925() { initGlobals176(); init_test790(); } function config168() { } function init_test790() { test_bc_172 = new_BoolComp445(); if dispatch_Comparison_test_Comparison_leq131(test_bc_172, booleanToIndex163(false), booleanToIndex163(true)) { testSuccess214(); } else { }; } function booleanToIndex163(boolean b375) returns integer { if b_375 { return 1; } else { }; return 0; } IS_NATIVE function testSuccess214() { } function new_BoolComp445() returns integer { local integer this183 local integer this190 if (Comparison_firstFree_184 == 0) { if (Comparison_maxIndex_197 < 32768) { Comparison_maxIndex_197 = (Comparison_maxIndex_197 + 1); this_190 = Comparison_maxIndex_197; Comparison_typeId_198[this_190] = 2; } else { error436("Out of memory: Could not create BoolComp."); this_190 = 0; }; } else { Comparison_firstFree_184 = (Comparison_firstFree_184 - 1); this_190 = Comparison_nextFree_421[Comparison_firstFree_184]; Comparison_typeId_198[this_190] = 2; }; this_183 = this_190; return this_183; } function error436(string msg785) { $debugPrint129((msg_785 + (" " + #getStackTrace()))); } function dispatch_Comparison_test_Comparison_leq131(integer this352, any t778, any u404) returns boolean { local boolean test_Comparison_leq_result337 local any t411 local any u955 local boolean a136 local boolean b993 local integer i823 local integer i199 if (Comparison_typeId_198[this_352] == 0) { if (this_352 == 0) { error436("Nullpointer exception when calling Comparison.leq"); } else { error436("Called Comparison.leq on invalid object."); }; } else { }; if (Comparison_typeId_198[this_352] <= 1) { test_Comparison_leq_result_337 = true; } else { t_411 = t_778; u_955 = u_404; i_823 = t_411; a_136 = (i_823 != 0); i_199 = u_955; b_993 = (i_199 != 0); test_Comparison_leq_result_337 = ((not a_136) or b_993); }; return test_Comparison_leq_result_337; }