Beispiel #1
0
        public void CanPermuteToPalindrome()
        {
            var s = "edified";

            var expected = true;
            var actual   = IsStringPermutableToPalindromeSolution.CanFormPanlindrome(s);

            Assert.Equal(expected, actual);
        }
Beispiel #2
0
        public void CanNotPermuteToPalindrome()
        {
            var s = "nopalindromes";

            var expected = false;
            var actual   = IsStringPermutableToPalindromeSolution.CanFormPanlindrome(s);

            Assert.Equal(expected, actual);
        }