summaryrefslogtreecommitdiff
path: root/tests/basic/test_basics.zc
diff options
context:
space:
mode:
Diffstat (limited to 'tests/basic/test_basics.zc')
-rw-r--r--tests/basic/test_basics.zc10
1 files changed, 10 insertions, 0 deletions
diff --git a/tests/basic/test_basics.zc b/tests/basic/test_basics.zc
new file mode 100644
index 0000000..d54389b
--- /dev/null
+++ b/tests/basic/test_basics.zc
@@ -0,0 +1,10 @@
+
+test "test_hello" {
+ println "It works!";
+}
+
+test "test_vars" {
+ var x = 10;
+ var y: int = 20;
+ println "Sum: {x + y}";
+}