Ejemplo n.º 1
0
        public void Pali_CheckPalindromeCaseAndSpaceInsensitive_true()
        {
            Pali testPali = new Pali("Euston saw I was not Sue");

            Assert.Equal(true, testPali.PalindromeResult());
        }
Ejemplo n.º 2
0
        public void Pali_CheckSentencePaliSpaceIrreleventCaseIrrelevent_true()
        {
            Pali testPali = new Pali("Sore was I ere I saw Eros");

            Assert.Equal(true, testPali.PalindromeResult());
        }
Ejemplo n.º 3
0
        public void Pali_CheckSentencePaliSpaceIrrelevent_true()
        {
            Pali testPali = new Pali("sore was i ere i saw eros");

            Assert.Equal(true, testPali.PalindromeResult());
        }
Ejemplo n.º 4
0
        public void Pali_CheckSingleWordPali_false()
        {
            Pali testPali = new Pali("word");

            Assert.Equal(false, testPali.PalindromeResult());
        }
Ejemplo n.º 5
0
        public void Pali_CheckSingleWordPali_true()
        {
            Pali testPali = new Pali("wow");

            Assert.Equal(true, testPali.PalindromeResult());
        }
Ejemplo n.º 6
0
        public void Pali_CheckIfFirstLetterIsLast_true()
        {
            Pali testPali = new Pali("wow");

            Assert.Equal(true, testPali.PalindromeResult());
        }