array Bla_nextFree292 integer Bla_firstFree567 integer Bla_maxIndex120 array Bla_typeId156 array Bla_i353 array Bla_j743 integer Bla_k424 = 36 integer Bla_firstFree567 = 0 integer Bla_maxIndex120 = 0 function initGlobals173() { } function main114() { initGlobals173(); init_test861(); } function config796() { } function init_test861() { local integer b695 local integer j660 local integer this493 local integer this183 local integer this850 local integer j131 local integer this120 local integer this278 local integer test_Bla_getI_result938 local integer this209 local integer this927 local integer test_Bla_getJ_result165 local integer this856 local integer this186 local integer test_Bla_getK_result483 j_660 = 14; if (Bla_firstFree_567 == 0) { if (Bla_maxIndex_120 < 32768) { Bla_maxIndex_120 = (Bla_maxIndex_120 + 1); this_183 = Bla_maxIndex_120; Bla_typeId_156[this_183] = 1; } else { error160("Out of memory: Could not create Bla."); this_183 = 0; }; } else { Bla_firstFree_567 = (Bla_firstFree_567 - 1); this_183 = Bla_nextFree_292[Bla_firstFree_567]; Bla_typeId_156[this_183] = 1; }; this_493 = this_183; this_850 = this_493; j_131 = j_660; this_120 = this_850; Bla_i_353[this_120] = 13; Bla_j_743[this_120] = 27; Bla_j_743[this_850] = j_131; b_695 = this_493; this_278 = b_695; if (Bla_typeId_156[this_278] == 0) { if (this_278 == 0) { error160("Nullpointer exception when calling Bla.getI"); } else { error160("Called Bla.getI on invalid object."); }; } else { }; this_209 = this_278; test_Bla_getI_result_938 = Bla_i_353[this_209]; if (test_Bla_getI_result_938 != 13) { testFail144("i"); } else { this_927 = b_695; if (Bla_typeId_156[this_927] == 0) { if (this_927 == 0) { error160("Nullpointer exception when calling Bla.getJ"); } else { error160("Called Bla.getJ on invalid object."); }; } else { }; this_856 = this_927; test_Bla_getJ_result_165 = Bla_j_743[this_856]; if (test_Bla_getJ_result_165 != 14) { testFail144("j"); } else { this_186 = b_695; if (Bla_typeId_156[this_186] == 0) { if (this_186 == 0) { error160("Nullpointer exception when calling Bla.getK"); } else { error160("Called Bla.getK on invalid object."); }; } else { }; test_Bla_getK_result_483 = 36; if (test_Bla_getK_result_483 != 36) { testFail144("k"); } else { testSuccess523(); }; }; }; } IS_NATIVE function testFail144(string msg187) { } IS_NATIVE function testSuccess523() { } function error160(string msg149) { $debugPrint211((msg_149 + (" " + #getStackTrace()))); }