Ejemplo n.º 1
0
 public void MaximumHandicapThrowsForNonSquareBoardSize()
 {
     FixedHandicapPositions.GetMaximumHandicap(new GameBoardSize(9, 8));
 }
Ejemplo n.º 2
0
 public void MaximumHandicapIsAccordingToRulesFor9And13And19()
 {
     Assert.AreEqual(5, FixedHandicapPositions.GetMaximumHandicap(new GameBoardSize(9)));
     Assert.AreEqual(9, FixedHandicapPositions.GetMaximumHandicap(new GameBoardSize(13)));
     Assert.AreEqual(9, FixedHandicapPositions.GetMaximumHandicap(new GameBoardSize(19)));
 }
Ejemplo n.º 3
0
 public void MaximumHandicapThrowsForUnsupportedBoardSize()
 {
     FixedHandicapPositions.GetMaximumHandicap(new GameBoardSize(8));
 }