implemented single_test_context_compare()

This commit is contained in:
jlamothe
2023-11-20 03:58:21 +00:00
parent eaa8ae06a7
commit 24ed9060ba
2 changed files with 55 additions and 0 deletions

17
9unit.h
View File

@@ -152,4 +152,21 @@ extern void single_test_context_with(
void * // the value being passed
);
// Runs a single test with a context, passing it two values to be
// compared
extern void single_test_context_compare(
TestState *, // the state
const char *, // the context
// the test function
TestResult (*)(
TestState *, // the state
void *, // the first value
void * // the second value
),
void *, // the first value
void * // the second value
);
//jl