Example #1
0
        public void CheckPerm2()
        {
            var checkStrings = new StringPermutationClass();
            var expected     = false;
            var actual       = checkStrings.StringPermutation("Cube", "kyt");

            Assert.AreEqual(expected, actual);
        }
Example #2
0
        public void CheckPerm3()
        {
            var checkStrings = new StringPermutationClass();
            var expected     = false;
            var actual       = checkStrings.StringPermutation("LegnthTest", "ThisStringShouldImmediatelyReturnFalse");

            Assert.AreEqual(expected, actual);
        }
Example #3
0
        public void CheckPerm()
        {
            var checkStrings = new StringPermutationClass();
            var expected     = true;
            var actual       = checkStrings.StringPermutation("kitty", "kyt");

            Assert.AreEqual(expected, actual);
        }