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


gtsam
Author(s):
autogenerated on Sat Nov 16 2024 04:07:09