Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
如何为 python 斐波那契数列生成编写单元测试用例。我需要将生成的输出附加到一个列表中,然后必须将该列表与测试用例的示例列表进行比较。
我可以用有限的信息给出的最佳答案:
result = [] for each in run_time_results: result.append(each)