mirror of
https://github.com/slsdetectorgroup/slsDetectorPackage.git
synced 2025-06-12 12:57:13 +02:00
Hardcopy of pybind11 instead of using git submodules (#552)
* 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>
This commit is contained in:
8
libs/pybind/tests/test_union.py
Normal file
8
libs/pybind/tests/test_union.py
Normal file
@ -0,0 +1,8 @@
|
||||
from pybind11_tests import union_ as m
|
||||
|
||||
|
||||
def test_union():
|
||||
instance = m.TestUnion()
|
||||
|
||||
instance.as_uint = 10
|
||||
assert instance.as_int == 10
|
Reference in New Issue
Block a user