def run_2048_reset_test(): """ Test for reset function """ print "Running test suite for reset function" suite = TestSuite() o_game_board = TwentyFortyEight(4, 4) arr_board = o_game_board.reset() i_test_count = 1 for i_index_y in range(4): for i_index_x in range(4): suite.run_test(arr_board[i_index_y][i_index_x], 0, "Test # " + str(i_test_count)) i_test_count += 1 suite.report_results() print o_game_board o_game_board.get_open_tile()