cppyabm
1.0.17
An agent-based library to integrate C++ and Python
examples
Cppy
build
_deps
pybind11-src
tests
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
test_union.test_union
def test_union()
Definition:
test_union.py:5
Generated by
1.8.19