MCPcopy Create free account
hub / github.com/pybind/pybind11 / test_drvd_add

Function test_drvd_add

tests/test_class_sh_trampoline_basic.py:14–16  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

12
13
14def test_drvd_add():
15 drvd = PyDrvd(74)
16 assert drvd.Add(38) == (74 * 10 + 3) * 100 + 38
17
18
19def test_drvd_add_in_cpp_raw_ptr():

Callers

nothing calls this directly

Calls 2

AddMethod · 0.95
PyDrvdClass · 0.85

Tested by

no test coverage detected