Created
May 13, 2018 03:18
-
-
Save an-indya/1b9072c6ba1173985561ea9849f8bfbe 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 BookCatalog | |
class BookCatalogTests: XCTestCase { | |
func testpopulateBookModel() { | |
let masterVC = MasterViewController() | |
masterVC.populateBookModel() | |
XCTAssert(masterVC.bookObjects.count == masterVC.books.count, "Book objects are \(masterVC.bookObjects.count) and books are \(masterVC.books.count) in number") | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment