add testing code

This commit is contained in:
Quinn
2025-04-22 11:59:51 +02:00
committed by Quinn
parent 4b611c7918
commit f7994b7d50
2 changed files with 57 additions and 0 deletions

18
test/src/main.c Normal file
View File

@@ -0,0 +1,18 @@
#include <stdio.h>
#include <stdlib.h>
#include "test.h"
int main(void) {
/*
// tests that should be performed
testdat tests[] = {
};
// get test count
size_t n = sizeof(tests) / sizeof(tests[0]);
*/
return exec_tests(NULL, 0);
// return exec_tests(tests, n);
}