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


gtsam
Author(s):
autogenerated on Sat May 8 2021 02:46:04