Debian Codegraph @

test-crates/pyo3-mixed-with-path-dep/check_installed/check_installed.py

raw
1 #!/usr/bin/env python3
2 import pyo3_mixed_with_path_dep
3
4 assert pyo3_mixed_with_path_dep.get_42() == 42, "get_42 did not return 42"
5
6 assert pyo3_mixed_with_path_dep.is_half(21, 42), "21 is not half of 42"
7 assert not pyo3_mixed_with_path_dep.is_half(21, 73), "21 is half of 63"
8
9 print("SUCCESS")