@@ -262,8 +262,22 @@ - (void)testDiffGeneralCases {
262262
263263- (void )testSimpleInsertionCase {
264264 NSArray *initial = @[];
265- NSArray *result =
266- @[@" a" , @" b" , @" c" , @" d" , @" e" , @" f" , @" g" , @" h" , @" i" , @" j" , @" k" , @" l" , @" m" , @" n" ];
265+ NSArray *result = @[
266+ [FUIDocumentSnapshot documentWithID: @" a" ],
267+ [FUIDocumentSnapshot documentWithID: @" b" ],
268+ [FUIDocumentSnapshot documentWithID: @" c" ],
269+ [FUIDocumentSnapshot documentWithID: @" d" ],
270+ [FUIDocumentSnapshot documentWithID: @" e" ],
271+ [FUIDocumentSnapshot documentWithID: @" f" ],
272+ [FUIDocumentSnapshot documentWithID: @" g" ],
273+ [FUIDocumentSnapshot documentWithID: @" h" ],
274+ [FUIDocumentSnapshot documentWithID: @" i" ],
275+ [FUIDocumentSnapshot documentWithID: @" j" ],
276+ [FUIDocumentSnapshot documentWithID: @" k" ],
277+ [FUIDocumentSnapshot documentWithID: @" l" ],
278+ [FUIDocumentSnapshot documentWithID: @" m" ],
279+ [FUIDocumentSnapshot documentWithID: @" n" ],
280+ ];
267281
268282 NSMutableArray *changes = [NSMutableArray arrayWithCapacity: 14 ];
269283 for (NSInteger i = 0 ; i < 14 ; i++) {
@@ -295,8 +309,23 @@ - (void)testSimpleInsertionCase {
295309}
296310
297311- (void )testSimpleChangeCase {
298- NSArray *initial =
299- @[@" a" , @" b" , @" c" , @" d" , @" e" , @" f" , @" g" , @" h" , @" i" , @" j" , @" k" , @" l" , @" m" , @" n" ];
312+ NSArray *initial = @[
313+ [FUIDocumentSnapshot documentWithID: @" a" ],
314+ [FUIDocumentSnapshot documentWithID: @" b" ],
315+ [FUIDocumentSnapshot documentWithID: @" c" ],
316+ [FUIDocumentSnapshot documentWithID: @" d" ],
317+ [FUIDocumentSnapshot documentWithID: @" e" ],
318+ [FUIDocumentSnapshot documentWithID: @" f" ],
319+ [FUIDocumentSnapshot documentWithID: @" g" ],
320+ [FUIDocumentSnapshot documentWithID: @" h" ],
321+ [FUIDocumentSnapshot documentWithID: @" i" ],
322+ [FUIDocumentSnapshot documentWithID: @" j" ],
323+ [FUIDocumentSnapshot documentWithID: @" k" ],
324+ [FUIDocumentSnapshot documentWithID: @" l" ],
325+ [FUIDocumentSnapshot documentWithID: @" m" ],
326+ [FUIDocumentSnapshot documentWithID: @" n" ],
327+ ];
328+
300329 NSArray *result = initial;
301330
302331 NSMutableArray *changes = [NSMutableArray arrayWithCapacity: 14 ];
@@ -329,8 +358,22 @@ - (void)testSimpleChangeCase {
329358}
330359
331360- (void )testSimpleDeletionCase {
332- NSArray *initial =
333- @[@" a" , @" b" , @" c" , @" d" , @" e" , @" f" , @" g" , @" h" , @" i" , @" j" , @" k" , @" l" , @" m" , @" n" ];
361+ NSArray *initial = @[
362+ [FUIDocumentSnapshot documentWithID: @" a" ],
363+ [FUIDocumentSnapshot documentWithID: @" b" ],
364+ [FUIDocumentSnapshot documentWithID: @" c" ],
365+ [FUIDocumentSnapshot documentWithID: @" d" ],
366+ [FUIDocumentSnapshot documentWithID: @" e" ],
367+ [FUIDocumentSnapshot documentWithID: @" f" ],
368+ [FUIDocumentSnapshot documentWithID: @" g" ],
369+ [FUIDocumentSnapshot documentWithID: @" h" ],
370+ [FUIDocumentSnapshot documentWithID: @" i" ],
371+ [FUIDocumentSnapshot documentWithID: @" j" ],
372+ [FUIDocumentSnapshot documentWithID: @" k" ],
373+ [FUIDocumentSnapshot documentWithID: @" l" ],
374+ [FUIDocumentSnapshot documentWithID: @" m" ],
375+ [FUIDocumentSnapshot documentWithID: @" n" ],
376+ ];
334377 NSArray *result = @[];
335378
336379 NSMutableArray *changes = [NSMutableArray arrayWithCapacity: 14 ];
0 commit comments