summaryrefslogtreecommitdiff
path: root/tests/literal-test.tnsl
diff options
context:
space:
mode:
authorKyle Gunger <corechg@gmail.com>2020-07-04 03:16:10 -0400
committerKyle Gunger <corechg@gmail.com>2020-07-04 03:16:10 -0400
commit08fabe9627d89b9811b0fafe1c2bb11773d02bbc (patch)
tree8b9dfa1e7d13aeeb7d9f910b6c03205e84683e68 /tests/literal-test.tnsl
parent5a022193a96e72fa5144755938e6a575aba165b0 (diff)
Tests
+ Add initial tests ~ Some tests fail. These bugs will warrent a section in the readme.
Diffstat (limited to 'tests/literal-test.tnsl')
-rw-r--r--tests/literal-test.tnsl10
1 files changed, 10 insertions, 0 deletions
diff --git a/tests/literal-test.tnsl b/tests/literal-test.tnsl
new file mode 100644
index 0000000..a7fd81e
--- /dev/null
+++ b/tests/literal-test.tnsl
@@ -0,0 +1,10 @@
+;string s = "\""
+;string st="\\"
+
+;int i = 0
+;int j=1
+
+;float f = .2
+;float d=3.1415
+
+;char c = '\'';char ch='\uxxxx'