test_union.py
Go to the documentation of this file.
1 from pybind11_tests import union_ as m
2 
3 
4 def test_union():
5  instance = m.TestUnion()
6 
7  instance.as_uint = 10
8  assert instance.as_int == 10
def test_union()
Definition: test_union.py:4


gtsam
Author(s):
autogenerated on Tue Jul 4 2023 02:37:46