implemented run_test_compare()
This commit is contained in:
15
9unit.h
15
9unit.h
@@ -74,6 +74,21 @@ extern void run_test_with(
|
||||
void * // the value to pass in
|
||||
);
|
||||
|
||||
// Runs a single test passing in two values to be compared
|
||||
extern void run_test_compare(
|
||||
TestState *, // the current state
|
||||
|
||||
// the test to be run
|
||||
TestResult (*test)(
|
||||
TestState *, // the current state
|
||||
void *, // the first value
|
||||
void * // the second value
|
||||
),
|
||||
|
||||
void *, // the first value
|
||||
void * // the second value
|
||||
);
|
||||
|
||||
// Creates an initial TestState, passes it to the supplied function,
|
||||
// and displays the resulting log and summary
|
||||
extern void run_tests(void (*)(TestState *));
|
||||
|
||||
Reference in New Issue
Block a user