Skip to content

Instantly share code, notes, and snippets.

@Kdan
Created July 9, 2020 21:04
Show Gist options
  • Select an option

  • Save Kdan/f017556cff90b5944c72963cecde7915 to your computer and use it in GitHub Desktop.

Select an option

Save Kdan/f017556cff90b5944c72963cecde7915 to your computer and use it in GitHub Desktop.
// When `b` returns true, `hasAnswer` should be true.
func testCheckAnswerTrue() {
b.validateAnswerResponse = true
a.checkAnswer()
XCTAssertTrue(a.hasAnswer)
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment