integer test_bc132 array Comparison_nextFree943 integer Comparison_firstFree901 integer Comparison_maxIndex159 array Comparison_typeId141 integer test_bc132 = new_BoolComp203() integer Comparison_firstFree901 = 0 integer Comparison_maxIndex159 = 0 function initGlobals564() { Comparison_firstFree_901 = 0; Comparison_maxIndex_159 = 0; } function main269() { initGlobals564(); init_test223(); } function config676() { } function init_test223() { test_bc_132 = new_BoolComp203(); if dispatch_Comparison_test_Comparison_leq127(test_bc_132, booleanToIndex101(false), booleanToIndex101(true)) { testSuccess737(); } else { }; } function booleanToIndex101(boolean b433) returns integer { if b_433 { return 1; } else { }; return 0; } function booleanFromIndex135(integer i188) returns boolean { return (i_188 != 0); } IS_NATIVE function testSuccess737() { } function test_BoolComp_leq_wrapper864(integer this191, any t178, any u105) returns boolean { return BoolComp_leq187(this_191, booleanFromIndex135(t_178), booleanFromIndex135(u_105)); } function BoolComp_leq187(integer this150, boolean a486, boolean b101) returns boolean { return ((not a_486) or b_101); } function BoolComp_init192(integer this908) { } function new_BoolComp203() returns integer { local integer this136 this_136 = alloc_BoolComp182(); construct_BoolComp166(this_136); return this_136; } function construct_BoolComp166(integer this163) { BoolComp_init192(this_163); } function alloc_BoolComp182() returns integer { local integer this853 if (Comparison_firstFree_901 == 0) { if (Comparison_maxIndex_159 < 32768) { Comparison_maxIndex_159 = (Comparison_maxIndex_159 + 1); this_853 = Comparison_maxIndex_159; Comparison_typeId_141[this_853] = 2; } else { error183("Out of memory: Could not create BoolComp."); this_853 = 0; }; } else { Comparison_firstFree_901 = (Comparison_firstFree_901 - 1); this_853 = Comparison_nextFree_943[Comparison_firstFree_901]; Comparison_typeId_141[this_853] = 2; }; return this_853; } function error183(string msg101) { $debugPrint957((msg_101 + (" " + #getStackTrace()))); } function dispatch_Comparison_test_Comparison_leq127(integer this186, any t826, any u152) returns boolean { local boolean test_Comparison_leq_result208 if (Comparison_typeId_141[this_186] == 0) { if (this_186 == 0) { error183("Nullpointer exception when calling Comparison.leq"); } else { error183("Called Comparison.leq on invalid object."); }; } else { }; test_Comparison_leq_result_208 = test_BoolComp_leq_wrapper864(this_186, t_826, u_152); return test_Comparison_leq_result_208; }