implemented run_test_with()
This commit is contained in:
@@ -67,6 +67,13 @@ extern void run_test(
|
||||
TestResult (*)(TestState *) // the test to run
|
||||
);
|
||||
|
||||
// Runs a single test with an arbitrary input
|
||||
extern void run_test_with(
|
||||
TestState *, // the state
|
||||
TestResult (*)(TestState *, void *), // the test
|
||||
void * // the value to pass in
|
||||
);
|
||||
|
||||
// Runs multiple tests, displaying a summary at the end
|
||||
extern void run_tests(
|
||||
// runs the tests and updates a provided TestState
|
||||
|
||||
Reference in New Issue
Block a user