public string[] Run() { var hints = new List <string>(); while (CanMove()) { Move nextMove = NextStep(); hints.Add(_teller.AreWeThereYet(nextMove.From, nextMove.To)); } return(hints.ToArray()); }
public void Should_Return_CookieTeller_Message() { string[] hints = _game.Run(); Assert.AreEqual(_teller.AreWeThereYet(0, 1), hints[0]); }