integer test_bc105 array Comparison_nextFree165 integer Comparison_firstFree149 integer Comparison_maxIndex116 array Comparison_typeId196 integer test_bc105 = new_BoolComp102() integer Comparison_firstFree149 = 0 integer Comparison_maxIndex116 = 0 function initGlobals178() { Comparison_firstFree_149 = 0; Comparison_maxIndex_116 = 0; } function main282() { initGlobals178(); init_test933(); } function config651() { } function init_test933() { test_bc_105 = new_BoolComp102(); if dispatch_Comparison_test_Comparison_leq134(test_bc_105, booleanToIndex180(false), booleanToIndex180(true)) { testSuccess171(); } else { }; } function booleanToIndex180(boolean b963) returns integer { if b_963 { return 1; } else { }; return 0; } function booleanFromIndex139(integer i208) returns boolean { return (i_208 != 0); } IS_NATIVE function testSuccess171() { } function test_BoolComp_leq_wrapper650(integer this159, any t157, any u535) returns boolean { return BoolComp_leq915(this_159, booleanFromIndex139(t_157), booleanFromIndex139(u_535)); } function BoolComp_leq915(integer this125, boolean a111, boolean b945) returns boolean { return ((not a_111) or b_945); } function BoolComp_init218(integer this775) { } function new_BoolComp102() returns integer { local integer this201 this_201 = alloc_BoolComp130(); construct_BoolComp126(this_201); return this_201; } function construct_BoolComp126(integer this198) { BoolComp_init218(this_198); } function alloc_BoolComp130() returns integer { local integer this510 if (Comparison_firstFree_149 == 0) { if (Comparison_maxIndex_116 < 32768) { Comparison_maxIndex_116 = (Comparison_maxIndex_116 + 1); this_510 = Comparison_maxIndex_116; Comparison_typeId_196[this_510] = 2; } else { error166("Out of memory: Could not create BoolComp."); this_510 = 0; }; } else { Comparison_firstFree_149 = (Comparison_firstFree_149 - 1); this_510 = Comparison_nextFree_165[Comparison_firstFree_149]; Comparison_typeId_196[this_510] = 2; }; return this_510; } function error166(string msg776) { $debugPrint540((msg_776 + (" " + #getStackTrace()))); } function dispatch_Comparison_test_Comparison_leq134(integer this204, any t102, any u173) returns boolean { local boolean test_Comparison_leq_result183 if (Comparison_typeId_196[this_204] == 0) { if (this_204 == 0) { error166("Nullpointer exception when calling Comparison.leq"); } else { error166("Called Comparison.leq on invalid object."); }; } else { }; test_Comparison_leq_result_183 = test_BoolComp_leq_wrapper650(this_204, t_102, u_173); return test_Comparison_leq_result_183; }