Install & Compatibility
Where this runs
No compatibility data collected yet for this library.
Code
Verified usage
Verified import paths — ran on the pinned version, not inferred.
munit/munit.h
✓ #include <munit/munit.h>
Basic µnit test suite
#include <munit/munit.h>
static MunitResult test_example(const MunitParameter params[], void* data) {
munit_assert_int(42, ==, 42);
return MUNIT_OK;
}
int main(int argc, char* argv[]) {
MunitTest tests[] = {{ "/example", test_example, NULL, NULL, MUNIT_TEST_OPTION_NONE, NULL }};
MunitSuite suite = {"/suite", tests, NULL, 1, MUNIT_SUITE_OPTION_NONE};
return munit_suite_main(&suite, NULL, argc, argv);
}
Debug
Known issues
No known issues recorded.
Upgrade
Version history
2019-04-06latest on vcpkg
Audit
Dependencies
No dependency data recorded yet.
Resources
No resource links recorded.