We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 52dbcf0 commit eb77102Copy full SHA for eb77102
test.py
@@ -4127,6 +4127,11 @@ def test_atomic960(self):
4127
self.assertEqual(game.end().parent.board().fen(), "rkr1b1n1/1pp2p2/4n1p1/p2pp2p/3P3P/Q1P3P1/PP2PP2/RK3N2 w Qkq - 0 10")
4128
self.assertEqual(game.end().board().fen(), "rkr1b1n1/1pp2p2/4n1p1/p2pp2p/3P3P/Q1P3P1/PP2PP2/2KR1N2 b kq - 1 10")
4129
4130
+ def test_atomic_king_exploded(self):
4131
+ board = chess.variant.AtomicBoard("rn5r/pp4pp/2p3Nn/5p2/1b2P1PP/8/PPP2P2/R1B1KB1R b KQ - 0 9")
4132
+ self.assertEqual(board.outcome().winner, chess.WHITE)
4133
+ self.assertEqual(board.status(), chess.STATUS_VALID)
4134
+
4135
4136
class RacingKingsTestCase(unittest.TestCase):
4137
0 commit comments