public void diff_textTest() {
diff_match_patchTest dmp = new diff_match_patchTest();
// Compute the source and destination texts.
List<Diff> diffs = new List<Diff> {
new Diff(Operation.EQUAL, "jump"),
new Diff(Operation.DELETE, "s"),
new Diff(Operation.INSERT, "ed"),
new Diff(Operation.EQUAL, " over "),
new Diff(Operation.DELETE, "the"),
new Diff(Operation.INSERT, "a"),
new Diff(Operation.EQUAL, " lazy")};
Assert.AreEqual("jumps over the lazy", dmp.diff_text1(diffs));
Assert.AreEqual("jumped over a lazy", dmp.diff_text2(diffs));
}