public void TestIncrementRoadsWhenFalse() { var target = new Player(); for (int i = 0; i < 15; i++) { target.incrementRoads(); } Assert.AreEqual(0, target.getRoadsRemaining()); Assert.IsFalse(target.incrementRoads()); }
public void TestIncrementRoads() { var target = new Player(); Assert.IsTrue(target.incrementRoads()); Assert.AreEqual(14, target.getRoadsRemaining()); }