array Bla_nextFree156 integer Bla_firstFree788 integer Bla_maxIndex150 array Bla_typeId185 array Bla_i984 array Bla_j184 integer Bla_k934 = 36 integer Bla_firstFree788 = 0 integer Bla_maxIndex150 = 0 function initGlobals822() { } function main769() { initGlobals822(); init_test161(); } function config630() { } function init_test161() { local integer b139 local integer j626 local integer this210 local integer this124 local integer this109 local integer j209 local integer this112 local integer this156 local integer test_Bla_getI_result801 local integer this113 local integer this103 local integer test_Bla_getJ_result202 local integer this118 local integer this247 local integer test_Bla_getK_result144 j_626 = 14; if (Bla_firstFree_788 == 0) { if (Bla_maxIndex_150 < 32768) { Bla_maxIndex_150 = (Bla_maxIndex_150 + 1); this_124 = Bla_maxIndex_150; Bla_typeId_185[this_124] = 1; } else { error255("Out of memory: Could not create Bla."); this_124 = 0; }; } else { Bla_firstFree_788 = (Bla_firstFree_788 - 1); this_124 = Bla_nextFree_156[Bla_firstFree_788]; Bla_typeId_185[this_124] = 1; }; this_210 = this_124; this_109 = this_210; j_209 = j_626; this_112 = this_109; Bla_i_984[this_112] = 13; Bla_j_184[this_112] = 27; Bla_j_184[this_109] = j_209; b_139 = this_210; this_156 = b_139; if (Bla_typeId_185[this_156] == 0) { if (this_156 == 0) { error255("Nullpointer exception when calling Bla.getI"); } else { error255("Called Bla.getI on invalid object."); }; } else { }; this_113 = this_156; test_Bla_getI_result_801 = Bla_i_984[this_113]; if (test_Bla_getI_result_801 != 13) { testFail838("i"); } else { this_103 = b_139; if (Bla_typeId_185[this_103] == 0) { if (this_103 == 0) { error255("Nullpointer exception when calling Bla.getJ"); } else { error255("Called Bla.getJ on invalid object."); }; } else { }; this_118 = this_103; test_Bla_getJ_result_202 = Bla_j_184[this_118]; if (test_Bla_getJ_result_202 != 14) { testFail838("j"); } else { this_247 = b_139; if (Bla_typeId_185[this_247] == 0) { if (this_247 == 0) { error255("Nullpointer exception when calling Bla.getK"); } else { error255("Called Bla.getK on invalid object."); }; } else { }; test_Bla_getK_result_144 = 36; if (test_Bla_getK_result_144 != 36) { testFail838("k"); } else { testSuccess807(); }; }; }; } IS_NATIVE function testFail838(string msg173) { } IS_NATIVE function testSuccess807() { } function error255(string msg362) { $debugPrint170((msg_362 + (" " + #getStackTrace()))); }