public void EditDistance_ShouldGenerateCorrectEditDistance( string string1, string string2, int expected) { IEditDistance distance = new LevenshteinDistance(); var actual = distance.FindDistance(string1, string2); Assert.Equal(expected, actual); }
public void EditDistance_ShouldGenerateCorrectEditDistance( string string1, string string2, int expected) { IEditDistance distance = new LevenshteinDistance(); var actual = distance.FindDistance(string1, string2); Assert.Equal(expected, actual); }