public static void TestNotStalemated_CanDrop() { CrazyhouseChessGame game = new CrazyhouseChessGame("rnbqkbnr/pppppppp/8/7K/5q2/8/ppp2ppp/rnb2bnr/Pp w kq - 0 1"); Assert.False(game.IsStalemated(Player.White)); Assert.AreEqual(32, game.GetValidDrops(Player.White).Count); }
public static void TestGetValidDrops() { CrazyhouseChessGame game = new CrazyhouseChessGame("rnbqk2r/1pppppb1/7p/8/p7/8/PPPPKPPP/RNBQ1BNR/PNp w kq - 10 6"); Assert.AreEqual(67, game.GetValidDrops(Player.White).Count); }