예제 #1
0
        public void CheckIfValid_ChecksInputIsNotJustSpaces_False()
        {
            string test     = "         ";
            bool   response = RepeatCounter.CheckIfValid(test);

            Assert.AreEqual(false, response);
        }
예제 #2
0
        public void CheckIfValid_ChecksInputIsPopulatedString_True()
        {
            string test     = "there is a thing";
            bool   response = RepeatCounter.CheckIfValid(test);

            Assert.AreEqual(true, response);
        }
예제 #3
0
        public void CheckIfValid_ChecksInputIsGreaterThanZero_False()
        {
            string test     = "";
            bool   response = RepeatCounter.CheckIfValid(test);

            Assert.AreEqual(false, response);
        }