From 1ad0047ee11f5e3619811c95f23bd6d9b37fb4a0 Mon Sep 17 00:00:00 2001 From: Lukas Haselsteiner Date: Wed, 5 May 2010 11:23:30 +0200 Subject: [PATCH] codea: Tiefe testfall intelli_00 verringert --- codea/intelli_00.0 | 4 ++-- codea/intelli_00.call | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) 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); -- 2.25.1