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