Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
14
def
test_drvd_add():
15
drvd = PyDrvd(74)
16
assert drvd.Add(38) == (74 * 10 + 3) * 100 + 38
17
18
19
def
test_drvd_add_in_cpp_raw_ptr():
Callers
nothing calls this directly
Calls
2
Add
Method · 0.95
PyDrvd
Class · 0.85
Tested by
no test coverage detected