Debian Codegraph @

test-crates/cffi-mixed/check_installed/check_installed.py

raw
1 #!/usr/bin/env python3
2
3 import cffi_mixed
4
5 from cffi_mixed import Line
6
7 point = cffi_mixed.lib.get_origin()
8 point.x = 10
9 point.y = 10
10 assert cffi_mixed.lib.is_in_range(point, 15)
11
12 assert Line(2, 5, 6, 8).length() == 5
13
14 print("SUCCESS")