def test_reset_board(): board = Board(board_width, board_height) ship = Ship(3, 'horizontal') board.place_ship(ship, 2, 2) board.reset() assert board.is_square_full(2, 2) == False
def test_is_square_full(): board = Board(board_width, board_height) assert board.is_square_full(2, 2) == False