??????????????μ?????CASE????
[TestMethod]
public void should_return_4a0b_when_input_numbers_all_figures_and_positions_are_right()
{
var inputNumber = "2975";
var actual = new Guesser().Guess(inputNumber);
Assert.AreEqual("4a0b"?? actual);
}
[TestMethod]
public void should_return_2a2b_when_input_numbers_all_figures_right_and_2_positions_right()
{
var inputNumber = "2957";
var actual = new Guesser().Guess(inputNumber);
Assert.AreEqual("2a2b"?? actual);
}
[TestMethod]
public void should_return_0a4b_when_input_numbers_all_figures_right_and_no_positions_right()
{
var inputNumber = "9257";
var actual = new Guesser().Guess(inputNumber);
Assert.AreEqual("0a4b"?? actual);
}
[TestMethod]
public void should_return_0a0b_when_input_number_all_figures_and_positions_wrong()
{
var inputNumber = "1348";
var actual = new Guesser().Guess(inputNumber);
Assert.AreEqual("0a0b"?? actual);
}
????????????CASE...