예제 #1
0
        public void ChangeCharacter_ReturnOChange_String()
        {
            LeetSpeak testLeetSpeak = new LeetSpeak("you");

            Assert.AreEqual("y0u", testLeetSpeak.ChangeCharacter());
        }
예제 #2
0
        public void ChangeCharacter_ReturnTChange_String()
        {
            LeetSpeak testLeetSpeak = new LeetSpeak("hello there");

            Assert.AreEqual("h3ll0 7h3r3", testLeetSpeak.ChangeCharacter());
        }
예제 #3
0
        public void ChangeCharacter_ReturnIChange_String()
        {
            LeetSpeak testLeetSpeak = new LeetSpeak("if");

            Assert.AreEqual("1f", testLeetSpeak.ChangeCharacter());
        }