Update LCS diffing to support insertions before deletions

This commit is contained in:
Levi McCallum
2016-02-05 11:15:40 -08:00
parent a2045f19c5
commit 8f3788d0b2
2 changed files with 25 additions and 21 deletions

View File

@@ -46,19 +46,19 @@
@[@"bob", @"alice", @"dave"],
@[@"gary", @"alice", @"dave", @"jack"],
@[@0, @3],
@[@0],
@[@1],
],
@[
@[@"bob", @"alice", @"dave", @"judy", @"lynda", @"tony"],
@[@"gary", @"bob", @"suzy", @"tony"],
@[@0, @2],
@[@1, @2, @3, @4],
@[@2, @4, @5, @6],
],
@[
@[@"bob", @"alice", @"dave", @"judy"],
@[@"judy", @"dave", @"alice", @"bob"],
@[@1, @2, @3],
@[@0, @1, @2],
@[@0, @2, @4],
],
];