Created
June 17, 2017 19:47
-
-
Save joesus/ca6007fa65ebd1c6a5498bbdfac1a983 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import XCTest | |
@testable import KittenAdoptR | |
class KittenTests: XCTestCase { | |
func testKittenHasAName() { | |
let kitten = Kitten(name: "Uncle Fester") | |
XCTAssertEqual(kitten.name, "Uncle Fester", | |
"Kitten name should be set in initializer") | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment