public void DeveRetornarNullQuandoNaoAcharVogal() { string input = "ccdfr"; IStream myStream = new MyStream(input.ToString()); char caractere = ValidarPrimeiroCaractere.FirstChar(myStream); Assert.AreEqual('\0', caractere); }
public void DeveRetornarNullQuandoExistemSomenteVogais() { string input = "aaeeiioouu"; IStream myStream = new MyStream(input.ToString()); char caractere = ValidarPrimeiroCaractere.FirstChar(myStream); Assert.AreEqual('\0', caractere); }
public void DeveRetornarPrimeiraVogalDoFimStream() { string input = "aAbBABacfe"; IStream myStream = new MyStream(input.ToString()); char caractere = ValidarPrimeiroCaractere.FirstChar(myStream); Assert.AreEqual('e', caractere); }
public void DeveRetornarNullQuandoVogalSomenteNoComecoStream() { string input = "abBBfdg"; IStream myStream = new MyStream(input.ToString()); char caractere = ValidarPrimeiroCaractere.FirstChar(myStream); Assert.AreEqual('\0', caractere); }
public void DeveRetornarNullQuandoContemMaisDeUmaVogal() { string input = "aaccadfrii"; IStream myStream = new MyStream(input.ToString()); char caractere = ValidarPrimeiroCaractere.FirstChar(myStream); Assert.AreEqual('\0', caractere); }