public void TestCheckValid() { Rover rover = new Rover(); rover.SetPosition(39, 20); Boolean result = rover.CheckValid(50, 50); Assert.AreEqual(false, result); result = rover.CheckValid(5, 5); Assert.AreEqual(true, result); result = rover.CheckValid(39, 20); Assert.AreEqual(false, result); result = rover.CheckValid(39, 40); Assert.AreEqual(false, result); result = rover.CheckValid(25, 20); Assert.AreEqual(true, result); }