diff options
author | Benedikt Böhm <bb@xnull.de> | 2009-07-07 10:43:01 +0200 |
---|---|---|
committer | Benedikt Böhm <bb@xnull.de> | 2009-07-07 10:43:01 +0200 |
commit | 8582e3520ff487ea71e68a10fa8641fd95e74706 (patch) | |
tree | 6e8a84141d45b6bd4f1bfa494b1dbe7270627754 /test/test5.t | |
parent | 4ad083bf274a972ed7286b9b52179e30873aa830 (diff) | |
download | swppy-8582e3520ff487ea71e68a10fa8641fd95e74706.tar.gz swppy-8582e3520ff487ea71e68a10fa8641fd95e74706.tar.xz swppy-8582e3520ff487ea71e68a10fa8641fd95e74706.zip |
cleanup test code
Diffstat (limited to 'test/test5.t')
-rw-r--r-- | test/test5.t | 27 |
1 files changed, 0 insertions, 27 deletions
diff --git a/test/test5.t b/test/test5.t deleted file mode 100644 index c6e786d..0000000 --- a/test/test5.t +++ /dev/null @@ -1,27 +0,0 @@ -fun main[] - x = call ggt1[30,40] - print x - y = call ggt2[30,40] - print y - @x == y -end - -fun ggt1[x,y] - while x != y - if x > y - x = x - y - else - y = y - x - end - end - @x -end - -fun ggt2[a,b] - while b - x = a - a = b - b = x % b - end - @a -end |