def test_export_new_board(self):
board = GameBoard.new_game([{'actions': [{
- 'action_class': 'LoseHealthOrMSB',
- 'required_bits': [],
+ 'action_class': 'LoseHealthOrMSB',
+ 'required_bits': [],
}]}])
exported_state = board.export()
board_locations = exported_state.pop('board_locations')
self.assertEqual(board.player.movement_mode, MOVES.CASTLE)
-
class TestLocationCard(TestCase):
def test_generate_bitwise_operand(self):
# This is testing a random process, so it may fail occasionally.