test: cover directory package test graphs

This commit is contained in:
2026-08-12 03:46:58 +09:00
parent 9862f0c05f
commit 7d25ad9f9f
5 changed files with 651 additions and 7 deletions

View File

@@ -1,5 +1,6 @@
package routing;
@test fn private_helper_first() void = {
assert(privateproduction() == 8);
assert(privatevalue() == 8);
};

View File

@@ -0,0 +1,5 @@
package routing;
fn privateproduction() int = { return 8; };
export fn secondvalue() int = { return 9; };

View File

@@ -4,4 +4,5 @@ import routing;
@test fn external_package() void = {
assert(routing.value() == 7);
assert(routing.secondvalue() == 9);
};

View File

@@ -2,5 +2,6 @@ package routing;
@test fn same_package() void = {
assert(value() == 7);
assert(privateproduction() == 8);
assert(privatevalue() == 8);
};