mirror of
https://github.com/slsdetectorgroup/slsDetectorPackage.git
synced 2026-05-10 07:12:04 +02:00
c0c8c8e21a
* removed pybind as submodule * added hardcopy of pybind11 2.10.0 * rename pybind11 folder to avoid conflicts when changing branch Co-authored-by: Dhanya Thattil <dhanya.thattil@psi.ch>
9 lines
148 B
Python
9 lines
148 B
Python
from pybind11_tests import union_ as m
|
|
|
|
|
|
def test_union():
|
|
instance = m.TestUnion()
|
|
|
|
instance.as_uint = 10
|
|
assert instance.as_int == 10
|