Esempio n. 1
0
        public void Test()
        {
            EditDistance editDistance = new EditDistance();
            string       s, t;

            s = "intention";
            t = "execution";
            Test(editDistance, s, t);
        }
Esempio n. 2
0
        private void Test(EditDistance editDistance, string s, string t)
        {
            int d = editDistance.MinDistance(s, t);

            Console.WriteLine($"{s} and {t} edit distance is : {d}");
        }