mirror of
https://github.com/PaddlePaddle/FastDeploy.git
synced 2025-10-15 21:20:53 +08:00
first commit
This commit is contained in:
8
third_party/pybind11/tests/test_union.py
vendored
Normal file
8
third_party/pybind11/tests/test_union.py
vendored
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