public void should_return_4A0B_when_all_number_exactly_match_answer() { var guessNumber = new GuessNumber("5678"); var result = guessNumber.Validate("5678"); Assert.AreEqual("4A0B", result); }
public void should_return_3A0B_when_three_numbers_exactly_match_in_answer() { var guessNumber = new GuessNumber("5678"); var result = guessNumber.Validate("5679"); Assert.AreEqual("3A0B", result); }
public void should_return_3A1B_when_three_number_exactly_match__answer_and_one_exit() { var guessNumber = new GuessNumber("5678"); var result = guessNumber.Validate("5675"); Assert.AreEqual("3A1B", result); }
public void should_return_0A4B_when_no_number_exactly_match_answer_and_on_number_exits_in() { var guessNumber = new GuessNumber("5678"); var result = guessNumber.Validate("8765"); Assert.AreEqual("0A4B", result); }