μHAL (v2.8.17)
Part of the IPbus software repository
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
test_union.py
Go to the documentation of this file.
1# -*- coding: utf-8 -*-
2from pybind11_tests import union_ as m
3
4
6 instance = m.TestUnion()
7
8 instance.as_uint = 10
9 assert instance.as_int == 10
def test_union()
Definition: test_union.py:5