```python import pytest def test_addition(): assert 5 + 3 == 8 assert 10 - 2 == 8 assert 15 / 3 == 5 ```
用pytest写一个测试case
- 作者:本地
- 日期:2025年3月29日 10:43
- 浏览:6
```python import pytest def test_addition(): assert 5 + 3 == 8 assert 10 - 2 == 8 assert 15 / 3 == 5 ```
评论区: