def test_place_figures_on_board(self): board = Board(raws=3, cols=3) self.assertEqual(board.add_figure(KingFigure), (0, 0)) print [(cell.x, cell.y, cell.value) for _, cell in board.cells.iteritems()]