Files
linux-kernel-module-cheat/userland/libs/pybind11/class_test_main.py
Ciro Santilli 六四事件 法轮功 04a8521905 pybind11: fix and generalize example
2020-02-21 00:00:02 +00:00

10 lines
233 B
Python
Executable File

#!/usr/bin/env python3
import class_test
my_class_test = class_test.ClassTest("abc");
print(my_class_test.getName())
my_class_test.setName("012")
print(my_class_test.getName())
assert(my_class_test.getName() == my_class_test.name)