public void DiffDetecsWhenInputStringsHaveSameSizeButDifferentContent() { var customDiff = new CustomDiff("this iz on imtot string", "this is an input steeeg"); var customDiffResult = customDiff.Diff(); Assert.Equal("The compared strings have the same size but the content is different", customDiffResult.Result); Assert.True(customDiffResult.Differences.Count > 0); Assert.Equal(6, customDiffResult.Differences[0].StartPosition); Assert.Equal(1, customDiffResult.Differences[0].Length); Assert.Equal(8, customDiffResult.Differences[1].StartPosition); Assert.Equal(1, customDiffResult.Differences[1].Length); Assert.Equal(12, customDiffResult.Differences[2].StartPosition); Assert.Equal(3, customDiffResult.Differences[2].Length); Assert.Equal(19, customDiffResult.Differences[3].StartPosition); Assert.Equal(3, customDiffResult.Differences[3].Length); }