diff --git a/SLS_C/include/tests/tests.h b/SLS_C/include/tests/tests.h index ab6d3a2..33b9a7d 100644 --- a/SLS_C/include/tests/tests.h +++ b/SLS_C/include/tests/tests.h @@ -39,5 +39,6 @@ typedef struct { TestsReport run_string_tests(); TestsReport run_lexer_tests(); +TestsReport run_extra_tests(); #endif // SLS_TESTS_H diff --git a/SLS_C/tests/extra_tests.c b/SLS_C/tests/extra_tests.c new file mode 100644 index 0000000..3a03405 --- /dev/null +++ b/SLS_C/tests/extra_tests.c @@ -0,0 +1,29 @@ +// Kyler Olsen +// YREA SLS +// Extra Tests +// November 2025 + +#include +#include +#include +#include + +#include "sls/string.h" +#include "sls/lexer.h" +#include "sls/errors.h" +#include "tests/tests.h" + +static const size_t NUM_EXTRA_TESTS = 0; + +// Run all extra tests +TestsReport run_extra_tests() +{ + TestsReport report = { + .section = SLS_STR("extra_tests"), + .count = NUM_EXTRA_TESTS, + .tests = malloc(sizeof(TestResult) * NUM_EXTRA_TESTS)}; + + size_t i = 0; + // report.tests[i++] = test_malloc_and_copy(); + return report; +} diff --git a/SLS_C/tests/tests.c b/SLS_C/tests/tests.c index 1f6477a..bae2c24 100644 --- a/SLS_C/tests/tests.c +++ b/SLS_C/tests/tests.c @@ -85,6 +85,8 @@ int main(void) { test_report(run_string_tests(), &counts); printf(" ========== Lexer Tests ==========\n"); test_report(run_lexer_tests(), &counts); + printf(" ========== Extra Tests ==========\n"); + test_report(run_extra_tests(), &counts); printf(" ========== Tests Overview ==========\n"); if (counts.errored > 0)