public void When_invalid_haiku_parsed_result_is_false() { HaikuParser hp = new HaikuParser(); hp.ParseHaiku("computer programs/the bugs try to eat my code/i will not let them"); Assert.IsFalse(hp.IsHaiku()); }
public void When_valid_haiku_parsed_result_is_true() { HaikuParser hp = new HaikuParser(); hp.ParseHaiku("happy purple frog/eating bugs in the marshes/get indigestion"); Assert.IsTrue(hp.IsHaiku()); }