We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
We want to support specifying an expected value in a test so the developer can use XCTAssertEqual function.
So with the following feature, you could write test for simple power function
@Parametrize(input: [1,2,3], output: [1, 4, 9]) func testPow2(input n: Int, output result: Int) { XCTAssertEqual(pow2(n),result) }
and single expansion should look like this
func testPow2_n_3_result_9() throws { let n: Int = 3 let result: Int = 9 XCTAssertEqual(pow2(n),result) }
Also, unit tests for this are needed
The text was updated successfully, but these errors were encountered:
implemented under #8
Sorry, something went wrong.
mkowalski87
No branches or pull requests
We want to support specifying an expected value in a test so the developer can use XCTAssertEqual function.
So with the following feature, you could write test for simple power function
and single expansion should look like this
Also, unit tests for this are needed
The text was updated successfully, but these errors were encountered: