public static void CalculateTest() { var distance = LevenshteinDistanceCalculator.Calculate("string", "being"); Assert.AreEqual(3, distance); }
public void EmptyEmpty() { Assert.Equal(0, calculator.Calculate("", "")); }
public static void CalculateWithCostTest() { var distance = LevenshteinDistanceCalculator.Calculate("agent", "agency", 7, 10, 7); Assert.AreEqual(17, distance); }