Skip to content

Instantly share code, notes, and snippets.

@victorpanitz
Created October 26, 2019 04:22
Show Gist options
  • Save victorpanitz/cc6b6c61544841feca7929d6d35383ba to your computer and use it in GitHub Desktop.
Save victorpanitz/cc6b6c61544841feca7929d6d35383ba to your computer and use it in GitHub Desktop.
func test_validation_given_valueAIsNotNil_valueBIsNotNilAndTrue_valueCIsNotNilAndFalse_ShouldReturnTrue() {
sut.validation(valueA: false, valueB: true, valueC: false)
XCTAssertEqual(view.setupCalled, true)
XCTAssertEqual(view.setupAPassed, false)
XCTAssertEqual(view.setupBPassed, true)
XCTAssertEqual(view.setupCPassed, false)
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment