aboutsummaryrefslogtreecommitdiffstats
path: root/progs/tests/tuples.sy
diff options
context:
space:
mode:
authorGustav Sörnäs <gustav@sornas.net>2021-03-09 19:46:01 +0100
committerGustav Sörnäs <gustav@sornas.net>2021-03-09 19:50:24 +0100
commit98f77e4a9aaff56e4a24919932076a4cee2a5598 (patch)
tree9adb84aa069a6d8994e106ced7a8b83217f6a971 /progs/tests/tuples.sy
parent44170a579266501143af63960fda8706df809c09 (diff)
downloadsylt-98f77e4a9aaff56e4a24919932076a4cee2a5598.tar.gz
move some tests
Diffstat (limited to 'progs/tests/tuples.sy')
-rw-r--r--progs/tests/tuples.sy24
1 files changed, 0 insertions, 24 deletions
diff --git a/progs/tests/tuples.sy b/progs/tests/tuples.sy
deleted file mode 100644
index 642e381..0000000
--- a/progs/tests/tuples.sy
+++ /dev/null
@@ -1,24 +0,0 @@
-start :: fn {
- a := (1,2)
- a[0] <=> 1
- a[1] <=> 2
-
- b := (1,)
- b[0] <=> 1
-
- empty := ()
- c := (empty,)
- c[0] <=> ()
-
- d := (1,2)
- d[0] <=> d[0]
-
- {
- q := d[2-2]
- d[d[(5 + 3) * 0]] <=> d[d[(5 + 3) * 0]]
- w := d[0]
- q + w
- q - w
- q * w
- }
-}