public void InstructionsBulkTest()
        {
            var chars  = "ABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789";
            var random = new Random();
            LevenshteinSolution <char> l = new LevenshteinSolution <char>();

            for (int i = 0; i < 100; i++)
            {
                String s = new string(
                    Enumerable.Repeat(chars, 8)
                    .Select(a => a[random.Next(a.Length)])
                    .ToArray());
                String t = new string(
                    Enumerable.Repeat(chars, 8)
                    .Select(a => a[random.Next(s.Length)])
                    .ToArray());

                var instructions = l.GetInstructions(s.ToCharArray(), t.ToCharArray());

                var applied = l.ApplyInstructions(s.ToCharArray(), instructions);

                string tApplied = new string(applied);

                Assert.AreEqual(t, tApplied);
            }
        }
        public void InstructionsBulkTest()
        {
            var chars = "ABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789";
            var random = new Random();
            LevenshteinSolution<char> l = new LevenshteinSolution<char>();

            for (int i = 0; i < 100; i++)
            {
                String s = new string(
                    Enumerable.Repeat(chars, 8)
                              .Select(a => a[random.Next(a.Length)])
                              .ToArray());
                String t = new string(
                    Enumerable.Repeat(chars, 8)
                            .Select(a => a[random.Next(s.Length)])
                            .ToArray());

                var instructions = l.GetInstructions(s.ToCharArray(), t.ToCharArray());

                var applied = l.ApplyInstructions(s.ToCharArray(), instructions);

                string tApplied = new string(applied);

                Assert.AreEqual(t, tApplied);
            }
        }
        public void DistanceTest()
        {
            String s = "democrat";
            String t = "republican";

            LevenshteinSolution <char> l = new LevenshteinSolution <char>();
            var distance = l.GetDistance(s.ToCharArray(), t.ToCharArray());

            Assert.AreEqual(8, distance);
        }
        public void DistanceTest()
        {
            String s = "democrat";
            String t = "republican";

            LevenshteinSolution<char> l = new LevenshteinSolution<char>();
            var distance = l.GetDistance(s.ToCharArray(), t.ToCharArray());

            Assert.AreEqual(8, distance);
        }
        public void InstructionsTest()
        {
            String s = "democrat";
            String t = "republican";

            LevenshteinSolution <char> l = new LevenshteinSolution <char>();
            var instructions             = l.GetInstructions(s.ToCharArray(), t.ToCharArray());

            var applied = l.ApplyInstructions(s.ToCharArray(), instructions);

            string tApplied = new string(applied);

            Assert.AreEqual(t, tApplied);
        }
        public void InstructionsTest()
        {
            String s = "democrat";
            String t = "republican";

            LevenshteinSolution<char> l = new LevenshteinSolution<char>();
            var instructions = l.GetInstructions(s.ToCharArray(), t.ToCharArray());

            var applied = l.ApplyInstructions(s.ToCharArray(), instructions);

            string tApplied = new string(applied);

            Assert.AreEqual(t, tApplied);
        }