Searched refs:get_a1 (Results 1 – 2 of 2) sorted by relevance
24 assert str(b.get_a1()) == "A[1]"31 assert str(b.get_a1()) == "A[42]"
41 A &get_a1() { return a1; } in TEST_SUBMODULE() function in TEST_SUBMODULE::B49 … .def("get_a1", &B::get_a1, "Return the internal A 1", py::return_value_policy::reference_internal) in TEST_SUBMODULE()