Last active
June 21, 2017 23:23
-
-
Save joesus/334cf13568d007f45ce326f05c5fa68a 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
func testHasZeroSectionsWhenZeroKittens() { | |
dataSource.kittens = [] | |
let tableView = UITableView() | |
XCTAssertEqual(dataSource.numberOfSections(in: tableView), 0, | |
"TableView should have zero sections when no kittens are present") | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment