summaryrefslogtreecommitdiff
path: root/tests/block-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/block-test.tnsl
parent5a022193a96e72fa5144755938e6a575aba165b0 (diff)
Tests
+ Add initial tests ~ Some tests fail. These bugs will warrent a section in the readme.
Diffstat (limited to 'tests/block-test.tnsl')
-rw-r--r--tests/block-test.tnsl15
1 files changed, 15 insertions, 0 deletions
diff --git a/tests/block-test.tnsl b/tests/block-test.tnsl
new file mode 100644
index 0000000..14663f3
--- /dev/null
+++ b/tests/block-test.tnsl
@@ -0,0 +1,15 @@
+;int i = 0
+
+/;if (i==0)
+ ;i = 2
+;//;else
+ ;i = 0
+;/
+
+# ;; can be used as a quick block re-definition
+
+/;if (i==0)
+ ;i = 2
+;;else
+ ;i = 0
+;/ \ No newline at end of file