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

Function test_PC

tests/test_python_multiple_inheritance.py:16–20  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

14
15
16def test_PC():
17 d = PC(11)
18 assert d.get_base_value() == 11
19 d.reset_base_value(13)
20 assert d.get_base_value() == 13
21
22
23def test_PPCC():

Callers

nothing calls this directly

Calls 3

PCClass · 0.85
get_base_valueMethod · 0.80
reset_base_valueMethod · 0.80

Tested by

no test coverage detected