public void TestNone(string text1, string text2, int dist) { Assert.Equal(dist, EditDistance.MinEditDistance(text1, text2, Algorithms.None)); }
public void TestHamming(string text1, string text2, int dist) { Assert.Equal(dist, EditDistance.MinEditDistance(text1, text2, Algorithms.Hamming)); }
public void TestDemerauLevenshtain(string text1, string text2, int dist) { Assert.Equal(dist, EditDistance.MinEditDistance(text1, text2, Algorithms.DemerauLevenshtein)); }
public void TestLevenshtain(string text1, string text2, int dist) { Assert.Equal(dist, EditDistance.MinEditDistance(text1, text2)); }