Example #1
0
 public void WhenUserEntersValidMove_ThenMoveIsSetValid()
 {
     HumanPlayer userMove = new HumanPlayer(null);
     userMove.Input = "a2";
     Assert.AreEqual(true, userMove.IsInputValid());
 }
Example #2
0
 public void WhenUserEntersInvalidMove_ThenMoveIsSetToInvalid()
 {
     HumanPlayer userMove = new HumanPlayer(null);
     userMove.Input = "h3";
     Assert.AreEqual(false, userMove.IsInputValid());
 }