摘要: import pytest@pytest.mark.parametrize("test_input, expected", [ ["1+1", 2], ["2*3", 6],])def test_eval(test_input, expected): assert eval(test_input) 阅读全文
posted @ 2023-02-06 18:25 Jenny测试开发 阅读(17) 评论(0) 推荐(0) 编辑