← 返回 capitalone 的题目列表Implement Test Harness
类型:online_judge
Implement a test harness. Given a function and test cases, verify that the output matches the expected result.
Example
Input
func, [(input1, expected_output1), (input2, expected_output2)]
Output
All tests passed / Test n failed