integer test_bc150 array Comparison_nextFree172 integer Comparison_firstFree446 integer Comparison_maxIndex372 array Comparison_typeId112 integer test_bc150 = new_BoolComp228() integer Comparison_firstFree446 = 0 integer Comparison_maxIndex372 = 0 function initGlobals195() { } function main131() { initGlobals195(); init_test513(); } function config167() { } function init_test513() { test_bc_150 = new_BoolComp228(); if dispatch_Comparison_test_Comparison_leq622(test_bc_150, booleanToIndex155(false), booleanToIndex155(true)) { testSuccess173(); } else { }; } function booleanToIndex155(boolean b203) returns integer { if b_203 { return 1; } else { }; return 0; } IS_NATIVE function testSuccess173() { } function new_BoolComp228() returns integer { local integer this143 local integer this655 if (Comparison_firstFree_446 == 0) { if (Comparison_maxIndex_372 < 32768) { Comparison_maxIndex_372 = (Comparison_maxIndex_372 + 1); this_655 = Comparison_maxIndex_372; Comparison_typeId_112[this_655] = 2; } else { error159("Out of memory: Could not create BoolComp."); this_655 = 0; }; } else { Comparison_firstFree_446 = (Comparison_firstFree_446 - 1); this_655 = Comparison_nextFree_172[Comparison_firstFree_446]; Comparison_typeId_112[this_655] = 2; }; this_143 = this_655; return this_143; } function error159(string msg702) { $debugPrint102((msg_702 + (" " + #getStackTrace()))); } function dispatch_Comparison_test_Comparison_leq622(integer this172, any t137, any u507) returns boolean { local boolean test_Comparison_leq_result426 local any t145 local any u187 local boolean a321 local boolean b979 local integer i210 local integer i196 if (Comparison_typeId_112[this_172] == 0) { if (this_172 == 0) { error159("Nullpointer exception when calling Comparison.leq"); } else { error159("Called Comparison.leq on invalid object."); }; } else { }; if (Comparison_typeId_112[this_172] <= 1) { test_Comparison_leq_result_426 = true; } else { t_145 = t_137; u_187 = u_507; i_210 = t_145; a_321 = (i_210 != 0); i_196 = u_187; b_979 = (i_196 != 0); test_Comparison_leq_result_426 = ((not a_321) or b_979); }; return test_Comparison_leq_result_426; }