Ejemplo n.º 1
0
 public void ReadFromShouldConsumeTheCorrectNumberOfSyllablesFromTheInput()
 {
     var input = new StringReader("out of the water out of itself");
     var line = new Line(5);
     line.ReadFrom(input);
     Assert.AreEqual("out of the water", line.ToString());
     Assert.AreEqual("out of itself", input.ReadToEnd());
 }