public void TestBuildRoad() { var target = new Player(); target.incrementSettlements(); target.generateBrick(); target.generateLumber(); target.buildRoad(); Assert.AreEqual(0, target.getHand().getBrick()); Assert.AreEqual(0, target.getHand().getLumber()); }
public void TestBuildRoadWithFreeRoadPoints() { var target = new Player(); target.playerHand.modifyFreeRoadPoints(1); target.buildRoad(); }
public void TestGetRoadsPlayed() { var target = new Player(); target.incrementCities(); target.generateBrick(); target.generateLumber(); target.buildRoad(); target.buildRoad(); Assert.AreEqual(2, target.getRoadsPlayed()); }