test: TEST_INIT macro as a prologue for any unit test

This commit is contained in:
2026-02-05 07:37:36 +00:00
parent 762dabd3e5
commit 3612313e76
7 changed files with 21 additions and 2 deletions

View File

@@ -10,6 +10,7 @@
void symtable_test(void)
{
TEST_INIT();
sym_table_t table = {0};
sym_table_init(&table);
for (u64 i = 0; i < ARRSIZE(words); ++i)