Esempio n. 1
0
        public void TestPermutationWithExtraCharacter()
        {
            string s  = "test";
            string s2 = "tsett";

            bool boolResult =
                PermutationChecker.IsPermutatinEqual2(s, s2);

            Assert.IsFalse(boolResult);
        }
Esempio n. 2
0
        public void TestPermutation()
        {
            string s  = "test";
            string s2 = "tset";

            bool boolResult =
                PermutationChecker.IsPermutatinEqual2(s, s2);

            Assert.IsTrue(boolResult);
        }