Add memory tests

This commit is contained in:
2025-10-19 00:49:49 +02:00
parent 2135d3a90a
commit ec71a73e3c
2 changed files with 656 additions and 0 deletions

15
tests/main.c Normal file
View File

@@ -0,0 +1,15 @@
#include "munit.h"
extern MunitTest bytes_tests[];
extern MunitTest memory_tests[];
int main(int argc, char *argv[MUNIT_ARRAY_PARAM(argc + 1)]) {
MunitSuite suites[] = {
{"/memory", memory_tests, nullptr, 1, MUNIT_SUITE_OPTION_NONE},
{nullptr, nullptr, nullptr, 0, MUNIT_SUITE_OPTION_NONE},
};
MunitSuite master_suite = {"/binprobe", nullptr, suites, 1, MUNIT_SUITE_OPTION_NONE};
return munit_suite_main(&master_suite, nullptr, argc, argv);
}