File test.h¶
↰ Parent directory (include/mu/tiny)
C interface for writing mutiny tests in pure C.
Definition (include/mu/tiny/test.h)¶
Detailed Description¶
Include this header in C test files. Test definitions use the same macro names as the C++ interface (Define TEST, Define SKIPPED_TEST, Define XFAIL_TEST) but expand to C function stubs that are called by corresponding C++ wrapper macros in the bridging C++ file.
Assertion macros use type-specific names (Define CHECK_EQUAL_INT, Define CHECK_EQUAL_LONG, etc.) because C has no function overloading.
Includes¶
mu/tiny/export.hstdbool.hstddef.hstdint.h