From e06fcb91abf5ec8403ccf03ba09a6e5ec7d11b8b Mon Sep 17 00:00:00 2001 From: Camil Staps Date: Sun, 18 Jun 2023 21:33:53 +0200 Subject: Add automated tests --- tests.snug | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 tests.snug (limited to 'tests.snug') 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)") -- cgit v1.2.3