测试评估
| 指标 | 结果 |
|---|---|
| Base 测试 | PASS |
| Plus 测试 | PASS |
| 代码长度 | 312 字符 |
模型生成的代码 (312 字符)
def add_lists(lst, tup):
"""
Append the given list to the given tuple.
Parameters:
lst (list): The list to append.
tup (tuple): The tuple to which the list is appended.
Returns:
tuple: A new tuple with elements of tup followed by elements of lst.
"""
return tup + tuple(lst)
Base 失败测试用例
- 无失败测试
Plus 失败测试用例
- 无失败测试