You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
XCTAssert(numberOfRowsExisting + numberOfRowsToAdd == [self.tableView.sectionInfos[section] numberOfRows], @"Unequal number of rows in section %d.", (int)section);
XCTAssert(self.mainViewController.sections.count == self.tableView.numberOfSections, @"The section counts should match up.");
224
245
}
225
246
247
+
#pragma mark - Method 'isSectionOpen' Tests -
248
+
249
+
- (void)testDataSourceMapping {
250
+
for (NSInteger section = 0; section < self.tableView.numberOfSections; section++) {
251
+
[selfwaitForHeaderViewInSection:section];
252
+
XCTAssert([self.mainViewController.sections[section] integerValue] == [self.tableView.sectionInfos[section] numberOfRows], @"The external data source does not match the internal FZAccordionTableView datasource in section %d.", (int)section);
0 commit comments