ComponentKitTests/TransactionalDataSource/CKDataSourceSplitChangesetTests.mm [547:566]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
  CKDataSource *const dataSource = dataSourceWithSplitChangesetOptions(componentProvider, {
    .enabled = YES,
    .splitUpdates = YES,
    .viewportBoundingSize = { .width = 10, .height = 10 },
    .layoutAxis = CKDataSourceLayoutAxisVertical,
  });
  [dataSource addListener:self];

  CKDataSourceChangeset *const insertionChangeset =
  [[[[CKDataSourceChangesetBuilder dataSourceChangeset]
     withInsertedSections:[NSIndexSet indexSetWithIndexesInRange:NSMakeRange(0, 2)]]
    withInsertedItems:@{
                        [NSIndexPath indexPathForItem:0 inSection:0]: [NSValue valueWithCGSize:{.width = 10, .height = 10}],
                        [NSIndexPath indexPathForItem:0 inSection:1]: [NSValue valueWithCGSize:{.width = 10, .height = 10}]
                        }]
   build];
  [dataSource applyChangeset:insertionChangeset mode:CKUpdateModeSynchronous userInfo:nil];
  XCTAssertTrue(CKRunRunLoopUntilBlockIsTrue(^BOOL{
    return _announcedChanges.count == 2;
  }));
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



ComponentKitTests/TransactionalDataSource/CKDataSourceSplitChangesetTests.mm [604:623]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
  CKDataSource *const dataSource = dataSourceWithSplitChangesetOptions(componentProvider, {
    .enabled = YES,
    .splitUpdates = YES,
    .viewportBoundingSize = { .width = 10, .height = 10 },
    .layoutAxis = CKDataSourceLayoutAxisVertical,
  });
  [dataSource addListener:self];

  CKDataSourceChangeset *const insertionChangeset =
  [[[[CKDataSourceChangesetBuilder dataSourceChangeset]
     withInsertedSections:[NSIndexSet indexSetWithIndexesInRange:NSMakeRange(0, 2)]]
    withInsertedItems:@{
                        [NSIndexPath indexPathForItem:0 inSection:0]: [NSValue valueWithCGSize:{.width = 10, .height = 10}],
                        [NSIndexPath indexPathForItem:0 inSection:1]: [NSValue valueWithCGSize:{.width = 10, .height = 10}]
                        }]
   build];
  [dataSource applyChangeset:insertionChangeset mode:CKUpdateModeSynchronous userInfo:nil];
  XCTAssertTrue(CKRunRunLoopUntilBlockIsTrue(^BOOL{
    return _announcedChanges.count == 2;
  }));
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



