Пример #1
0
 public void MaximumHandicapThrowsForNonSquareBoardSize()
 {
     FixedHandicapPositions.GetMaximumHandicap(new GameBoardSize(9, 8));
 }
Пример #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)));
 }
Пример #3
0
 public void MaximumHandicapThrowsForUnsupportedBoardSize()
 {
     FixedHandicapPositions.GetMaximumHandicap(new GameBoardSize(8));
 }