示例#1
0
        public void FirstCharTest_input_empty()
        {
given:
            String input = "";

when:
            ValidarString validar = new ValidarString(input);

            Program.FirstChar(validar);
        }
示例#2
0
        public void FirstCharTest_input_aAbBABacfe()
        {
given:
            String input = "aAbBABacfe";

when:
            ValidarString validar = new ValidarString(input);
            char result = Program.FirstChar(validar);

then:
            Assert.AreEqual('e', result);
        }