Exemple #1
0
        public void TestMethod1()
        {
            //arrange
            string str1 = "hello";
            string str2 = "he 1llo";


            //execute
            GetMatches match    = new GetMatches();
            int        distance = match.LevenshteinDistance(str1, str2);

            //assert
            Debug.WriteLine(distance);

            Assert.AreEqual(16, distance);
        }