X-Git-Url: http://wien.tomnetworks.com/gitweb/?p=testub10.git;a=blobdiff_plain;f=gesamt%2Fintelli_03.call;h=10c438748a906a7f3141a345ea434397c14f16f5;hp=e18ae409a4a7e23346964608b72c1cdf4d32b65d;hb=b0a180255d33c4f4b1158e03788411e905ed36b4;hpb=11fb3bd2ab5634f5fd501dc26fca88d3e6cfefc5 diff --git a/gesamt/intelli_03.call b/gesamt/intelli_03.call index e18ae40..10c4387 100644 --- a/gesamt/intelli_03.call +++ b/gesamt/intelli_03.call @@ -14,5 +14,8 @@ printf("ret: %ld\n", ret); for(i=0; i < sizeof z1/sizeof z1[0]; i++) { printf("z1[%i]: %ld, z2[%i]: %ld\n", i, z1[i], i, z2[i]); } +printf("anmerkung: dieser testfall ist von seiteneffekten gepraegt\n" + "es *koennte* passieren, dass der testfall richtig ist obwohl er\n" + "fehlschlaegt, da die auswertungsreihenfolge nicht vorgegeben ist\n\n"); -RET(ret == -16 && z1[0] == 0 && z2[0] == 10 && z1[1] == 4 && z1[2] == 6 && z1[3] == 8 && z1[4] == 10 && z1[5] == 10 && z1[6] == 12 && z2[1] == 23 && z2[2] == 43 && z2[3] == 63 && z2[4] == 83 && z2[5] == 100 && z2[6] == 120); \ No newline at end of file +RET((ret == -16 || ret == -14) && z1[0] == 0 && z2[0] == 10 && z1[1] == 4 && z1[2] == 6 && z1[3] == 8 && z1[4] == 10 && z1[5] == 10 && z1[6] == 12 && z2[1] == 23 && z2[2] == 43 && z2[3] == 63 && z2[4] == 83 && z2[5] == 100 && z2[6] == 120);