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

@@ -14,6 +14,7 @@
void stream_test_string(void)
{
TEST_INIT();
sv_t test_strings[] = {
SV("hello, world!", 13),
SV("another string", 14),
@@ -54,36 +55,43 @@ void stream_test_string(void)
void stream_test_file(void)
{
TEST_INIT();
TODO("Not implemented");
}
void stream_test_peek_next(void)
{
TEST_INIT();
TODO("Not implemented");
}
void stream_test_seek(void)
{
TEST_INIT();
TODO("Not implemented");
}
void stream_test_substr(void)
{
TEST_INIT();
TODO("Not implemented");
}
void stream_test_till(void)
{
TEST_INIT();
TODO("Not implemented");
}
void stream_test_while(void)
{
TEST_INIT();
TODO("Not implemented");
}
void stream_test_line_col(void)
{
TEST_INIT();
TODO("Not implemented");
}