예제 #1
0
        public void CorrrectInputOnlyNumbers_ReturnFalse()
        {
            var input  = "1 2 3 11 22";
            var stream = new IOFile();

            input = stream.CorrectInput(input);

            Assert.AreNotEqual(input, "");
        }
예제 #2
0
        public void CorrrectInputWithLetters_ReturnFalse()
        {
            var input  = "1 2 3 a b";
            var stream = new IOFile();

            input = stream.CorrectInput(input);

            Assert.AreNotEqual(input, "");
        }
예제 #3
0
        public void CorrrectInput_ReturnTrue()
        {
            var input  = "10 9 8 7 6 5 4 3 2 1";
            var stream = new IOFile();

            input = stream.CorrectInput(input);

            Assert.AreEqual(input, "");
        }