File: test_example.py

package info (click to toggle)
python-pytest-cov 5.0.0-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 424 kB
  • sloc: python: 2,338; makefile: 6
file content (6 lines) | stat: -rw-r--r-- 105 bytes parent folder | download | duplicates (6)
1
2
3
4
5
6
import example


def test_add():
    assert example.add(1, 1) == 2
    assert not example.add(0, 1) == 2