diff options
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 |