diff options
author | Camil Staps | 2023-06-18 21:33:53 +0200 |
---|---|---|
committer | Camil Staps | 2023-06-18 21:33:53 +0200 |
commit | e06fcb91abf5ec8403ccf03ba09a6e5ec7d11b8b (patch) | |
tree | 3361d05765f10c8601f5f9137631f251b2563188 /tests.snug | |
parent | Remove outdated makefile (diff) |
Add automated tests
Diffstat (limited to 'tests.snug')
-rw-r--r-- | tests.snug | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/tests.snug b/tests.snug new file mode 100644 index 0000000..8873481 --- /dev/null +++ b/tests.snug @@ -0,0 +1,8 @@ +(test "printing integers" : Int : 37 "37") +(test "printing integers" : Int : -37 "-37") +(test "printing characters" : Char : 'a' "'a'") + +(data Tuple (a b) ( + (Tuple a b))) + +(test "printing tuples" : Tuple Int Int : (Tuple 1 2) "(1,2)") |