From: Lukas Haselsteiner Date: Wed, 5 May 2010 09:23:30 +0000 (+0200) Subject: codea: Tiefe testfall intelli_00 verringert X-Git-Url: http://wien.tomnetworks.com/gitweb/?p=testub10.git;a=commitdiff_plain;h=1ad0047ee11f5e3619811c95f23bd6d9b37fb4a0;ds=sidebyside codea: Tiefe testfall intelli_00 verringert --- diff --git a/codea/intelli_00.0 b/codea/intelli_00.0 index 9856fd9..526ed51 100644 --- a/codea/intelli_00.0 +++ b/codea/intelli_00.0 @@ -3,6 +3,6 @@ method f(a b c) end; /*verschachtelte mult*/ -method g(a b c d) - return ((a * (b * (c * (-4)))) - d); +method g(a b) + return (a * (b * (-4))) - this; end; diff --git a/codea/intelli_00.call b/codea/intelli_00.call index bfe18ac..ba0542b 100644 --- a/codea/intelli_00.call +++ b/codea/intelli_00.call @@ -1,9 +1,9 @@ long f(long, long, long, long); -long g(long, long, long, long, long); +long g(long, long, long); RET(f(1, 100, 10, 5) == 449); -RET(g(0, -2, 7, 14, 20) == 764); +RET(g(5, -2, 7) == 51);