projects
/
uebersetzerbau-ss10.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
doc: paulchen beispiele {code{a,b},gesamt} entpackt (jedes mal entpacken nervt langsa...
[uebersetzerbau-ss10.git]
/
aus_sammelwut
/
paulchen
/
ublu
/
ss08
/
abgabe
/
gesamt
/
testcases
/
.svn
/
text-base
/
fib2.0.svn-base
diff --git a/aus_sammelwut/paulchen/ublu/ss08/abgabe/gesamt/testcases/.svn/text-base/fib2.0.svn-base
b/aus_sammelwut/paulchen/ublu/ss08/abgabe/gesamt/testcases/.svn/text-base/fib2.0.svn-base
new file mode 100644
(file)
index 0000000..
efc08c7
--- /dev/null
+++ b/
aus_sammelwut/paulchen/ublu/ss08/abgabe/gesamt/testcases/.svn/text-base/fib2.0.svn-base
@@ -0,0
+1,16
@@
+ (* fibonacci *)
+ func fib(x)
+ if not x >= 2 then
+ return x;
+ else
+ return fib(x+(-1))+fib(x+(-2));
+ end;
+ end;
+(* func main()
+ if not (fib(9)+(-fib(7))) = fib(8) then
+ return 1;
+ else
+ return 0;
+ end;
+ end;
+*)