μHAL (v2.8.19)
Part of the IPbus software repository
Loading...
Searching...
No Matches
test_union.py
Go to the documentation of this file.
1from pybind11_tests import union_ as m
2
3
4def test_union():
5 instance = m.TestUnion()
6
7 instance.as_uint = 10
8 assert instance.as_int == 10