mirror of
https://github.com/hi-language/transpiler.git
synced 2026-01-14 08:38:37 +00:00
Refactor: Move primitive tests into test directory
This commit is contained in:
11
test/primitives.hi
Normal file
11
test/primitives.hi
Normal file
@@ -0,0 +1,11 @@
|
||||
// Test: Declaration (:) of a string and output (_)
|
||||
message: "Testing primitives..."
|
||||
_(message)
|
||||
|
||||
// Test: Declaration of a number
|
||||
count: 1
|
||||
_("Initial count:", count)
|
||||
|
||||
// Test: Assignment (=) and a simple expression
|
||||
count = count + 1
|
||||
_("New count:", count)
|
||||
Reference in New Issue
Block a user