public void CanPlayerMoveOnTileTest()
 {
     Assert.True(testee.CanPlayerMoveOnTile());
     objectToPlaceOnTile.CanWalkThrough().Returns(false);
     testee.PlaceObject(objectToPlaceOnTile);
     Assert.False(testee.CanPlayerMoveOnTile());
     testee.RemoveObject();
     Assert.True(testee.CanPlayerMoveOnTile());
 }
Example #2
0
 public void IsPassableTest()
 {
     Assert.False(testee.CanWalkThrough());
 }