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

Function test_rvalue_ref_param

tests/test_methods_and_attributes.py:701–706  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

699
700
701def test_rvalue_ref_param():
702 r = m.RValueRefParam()
703 assert r.func1("123") == 3
704 assert r.func2("1234") == 4
705 assert r.func3("12345") == 5
706 assert r.func4("123456") == 6
707
708
709def test_is_setter():

Callers

nothing calls this directly

Calls 4

func1Method · 0.95
func2Method · 0.95
func3Method · 0.95
func4Method · 0.95

Tested by

no test coverage detected