main: add tests

Add testing infrastructure and one initial test (for
src/runtime/print.go). More tests to be added later.
This commit is contained in:
Ayke van Laethem
2018-09-24 17:24:58 +02:00
parent ed227b8fd3
commit d8f0ddf3fa
3 changed files with 150 additions and 0 deletions
+20
View File
@@ -0,0 +1,20 @@
hello world!
42
100000000
abc
a b c
123
123
-123
12345
12345
-12345
12345678
12345678
-12345678
123456789012
123456789012
-123456789012
+3.140000e+000
map[2]
true false