Пример #1
0
        public void LetterSAtStart_TestForLetterSAtStartOfPhrase_True()
        {
            Leetspeak testLeetspeak = new Leetspeak();
            char      character     = 's';
            char      prevCharacter = ' ';
            int       index         = 0;

            Assert.AreEqual(true, testLeetspeak.LetterSAtStart(character, prevCharacter, index));
        }
Пример #2
0
        public void LetterSAtStart_TestForLetterSInsideOfWord_False()
        {
            Leetspeak testLeetspeak = new Leetspeak();
            char      character     = 's';
            char      prevCharacter = '0';
            int       index         = 1;

            Assert.AreEqual(false, testLeetspeak.LetterSAtStart(character, prevCharacter, index));
        }