示例#1
0
        public void ValidInput_True()
        {
            bool output = RepeatCounter.ValidInput("brain");

            Assert.AreEqual
                (true, output);
        }
        public void EmptyInput_False()
        {
            bool output = RepeatCounter.ValidInput(" ");

            Assert.AreEqual(false, output);
        }
        public void NumberInWord_False()
        {
            bool output = RepeatCounter.ValidInput("br4in");

            Assert.AreEqual(false, output);
        }
        public void SpecialCharacters_False()
        {
            bool output = RepeatCounter.ValidInput("br@in");

            Assert.AreEqual(false, output);
        }