Refactor: Move block tests into test directory

This commit is contained in:
2025-09-26 00:16:28 -07:00
parent e78e3db098
commit bf7ee6cc39

13
test/blocks.hi Normal file
View File

@@ -0,0 +1,13 @@
// Test: Block as a data structure (object)
config: {
version: "1.0"
author: "Master"
}
_("Config version:", config.version)
// Test: Block as an executable function (with params and implicit return)
add: (a, b) {
a + b
}
result: add(5, 10)
_("Function result:", result)