implemented check_value()

This commit is contained in:
jlamothe
2023-11-16 19:53:06 +00:00
parent 0ad79ea3b0
commit a7351b5667
2 changed files with 51 additions and 0 deletions

13
9unit.h
View File

@@ -94,4 +94,17 @@ extern void single_test_context(
TestResult (*)(TestState *) // the actual test
);
// Runs a test to check a value
extern void check_value(
TestState *, // the current test state
const char *, // a description of the context
void *, // the value being checked
void *, // the reference value
void (*)( // the test function
TestState *,
void *, // the check value
void * // the reference value
)
);
//jl