From bf7ee6cc39cd8ee1d178dd0f30a977d93ea249a4 Mon Sep 17 00:00:00 2001 From: multipleof4 Date: Fri, 26 Sep 2025 00:16:28 -0700 Subject: [PATCH] Refactor: Move block tests into test directory --- test/blocks.hi | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 test/blocks.hi diff --git a/test/blocks.hi b/test/blocks.hi new file mode 100644 index 0000000..432acb1 --- /dev/null +++ b/test/blocks.hi @@ -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)