public void TestLegal()
 {
     IGrid grid = new StandardGrid();
     grid.InitiGrid(4, 4);
     Assert.IsTrue(grid.IsValidLocation(new Point(1, 1)));
 }
 public void TestIllegalPositiveYLocation()
 {
     IGrid grid = new StandardGrid();
     grid.InitiGrid(4, 4);
     Assert.IsFalse(grid.IsValidLocation(new Point(1, 5)));
 }