implemented single_test_context_with()
This commit is contained in:
14
9unit.h
14
9unit.h
@@ -109,6 +109,20 @@ extern void test_context_with(
|
||||
void * // the value being passed in
|
||||
);
|
||||
|
||||
// Runs a single test with a context and input
|
||||
extern void single_test_context_with(
|
||||
TestState *, // the state
|
||||
const char *, // the context
|
||||
|
||||
// the test
|
||||
TestResult (*)(
|
||||
TestState *, // the state
|
||||
void * // the value being passed
|
||||
),
|
||||
|
||||
void * // the value being passed
|
||||
);
|
||||
|
||||
// Runs a test to check a value
|
||||
extern void check_value(
|
||||
TestState *, // the current test state
|
||||
|
||||
Reference in New Issue
Block a user