public void CharacterCollision() { WriterActions writer = new WriterActions(); writer.ProcessInput("An a day keeps the doctor away"); writer.Edit("artichoke"); Assert.AreEqual("An artich@k@ay keeps the doctor away", string.Join(null, writer.paper.ToArray())); }
public void EditWord() { WriterActions writer = new WriterActions(); writer.ProcessInput("An a day keeps the doctor away"); writer.Edit("onion"); Assert.AreEqual("An onion a day keeps the doctor away", string.Join(null, writer.paper.ToArray())); }