Created
April 17, 2018 18:30
-
-
Save ktanaka117/620fb0d5c70c0aa2a070f3f6b14e0832 to your computer and use it in GitHub Desktop.
お客様の中に、このコードブロックが起こすRe:VIEWのシンタックスエラーを解決できる方はおられませんか #CodePiece #技術書典
This file contains hidden or 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
//emlist{ | |
func testCardEqual() { | |
XCTAssertEqual( | |
Card(rank: .jack, suit: .club), | |
Card(rank: .jack, suit: .club) | |
) | |
XCTAssertNotEqual( | |
Card(rank: .queen, suit: .diamond), | |
Card(rank: .jack, suit: .club) | |
) | |
XCTAssertNotEqual( | |
Card(rank: .jack, suit: .diamond), | |
Card(rank: .jack, suit: .club) | |
) | |
XCTAssertNotEqual( | |
Card(rank: .queen, suit: .club), | |
Card(rank: .jack, suit: .club) | |
) | |
} | |
//} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment