diff options
| author | Edvard Thörnros <edvard.thornros@gmail.com> | 2021-02-01 21:57:54 +0100 |
|---|---|---|
| committer | Edvard Thörnros <edvard.thornros@gmail.com> | 2021-02-01 21:57:54 +0100 |
| commit | 5b9de776ba7de654fa92bee7c38fb30d7929405d (patch) | |
| tree | 9326e2f44b56f050df229eef331a3ab6248ebbdb /tests | |
| parent | f9b6a64b845dabdf1773da49f248def479659934 (diff) | |
| download | sylt-5b9de776ba7de654fa92bee7c38fb30d7929405d.tar.gz | |
.tdy -> .sy and tests -> progs/tests
Diffstat (limited to 'tests')
| -rw-r--r-- | tests/faulty.tdy | 3 | ||||
| -rw-r--r-- | tests/fib.tdy | 9 | ||||
| -rw-r--r-- | tests/for.tdy | 19 | ||||
| -rw-r--r-- | tests/scoping.tdy | 13 | ||||
| -rw-r--r-- | tests/simple.tdy | 2 | ||||
| -rw-r--r-- | tests/unreachable.tdy | 1 |
6 files changed, 0 insertions, 47 deletions
diff --git a/tests/faulty.tdy b/tests/faulty.tdy deleted file mode 100644 index 369b8ff..0000000 --- a/tests/faulty.tdy +++ /dev/null @@ -1,3 +0,0 @@ -asdflökja;;;; -123 -asd diff --git a/tests/fib.tdy b/tests/fib.tdy deleted file mode 100644 index 1dde6a8..0000000 --- a/tests/fib.tdy +++ /dev/null @@ -1,9 +0,0 @@ -a := 0 -b := 1 - -for i := 0, i < 90, i = i + 1 { - c := a - a = b - b = c + b -} -a <=> 2880067194370816120 diff --git a/tests/for.tdy b/tests/for.tdy deleted file mode 100644 index a9f8cd2..0000000 --- a/tests/for.tdy +++ /dev/null @@ -1,19 +0,0 @@ -a := 0 -for i := 0, i < 3, i = i + 1 { - a = a + i -} -a <=> 3 - -a = 0 -for i := 0, i <= 3, i = i + 1 { - a = a + i -} -a <=> 6 - -a = 0 -for i := 0, i < 3, i = i + 1 { - for j := 0, j < 3, j = j + 1 { - a = a + i * j - } -} -a <=> 9 diff --git a/tests/scoping.tdy b/tests/scoping.tdy deleted file mode 100644 index 7679948..0000000 --- a/tests/scoping.tdy +++ /dev/null @@ -1,13 +0,0 @@ -a : int = 1 -{ - a <=> 1 - a : int = a + a - a <=> 2 -} -a <=> 1 - -{ - a = 2 - a : int = 1 -} -a <=> 2 diff --git a/tests/simple.tdy b/tests/simple.tdy deleted file mode 100644 index 12a43c0..0000000 --- a/tests/simple.tdy +++ /dev/null @@ -1,2 +0,0 @@ -print extern_test(3.0) -print extern_test(3.0, 4.0, 5.0) diff --git a/tests/unreachable.tdy b/tests/unreachable.tdy deleted file mode 100644 index f016a14..0000000 --- a/tests/unreachable.tdy +++ /dev/null @@ -1 +0,0 @@ -<!> |
