refactor: move benchmark directory under test and update all references
The benchmark directory is relocated from the project root into the test directory, and all scripts, documentation links, and gitignore paths are updated accordingly. The test runner is also refactored to explicitly walk subdirectories (core, io, language, limit) instead of using a single test root, and a new test/README.md is added to document the test suite structure. Additionally, the constructor test for the Foo class is updated to add a zero-arity constructor and adjust expected output strings.
This commit is contained in:
@@ -0,0 +1,8 @@
|
||||
// nontest
|
||||
var Module1 = "from module one"
|
||||
var Module2 = "from module two"
|
||||
var Module3 = "from module three"
|
||||
var Module4 = "from module four"
|
||||
var Module5 = "from module five"
|
||||
|
||||
IO.print("ran module")
|
||||
@@ -0,0 +1,10 @@
|
||||
import "module" for Module1, Module2, Module3, Module4, Module5
|
||||
|
||||
// Only execute module body once:
|
||||
// expect: ran module
|
||||
|
||||
IO.print(Module1) // expect: from module one
|
||||
IO.print(Module2) // expect: from module two
|
||||
IO.print(Module3) // expect: from module three
|
||||
IO.print(Module4) // expect: from module four
|
||||
IO.print(Module5) // expect: from module five
|
||||
Reference in New Issue
Block a user