Debian Codegraph @

test-crates/pyo3-mixed-implicit/tests/test_pyo3_mixed_implicit.py

raw
1 #!/usr/bin/env python3
2
3 import pyo3_mixed_implicit.some_rust as some_rust
4
5
6 def test_get_rust_and_python():
7 assert some_rust.get_22() == 22
8 assert some_rust.double(lambda: 4) == 8
9
10
11 print("SUCCESS")