Home
last modified time | relevance | path

Searched refs:unlucky_number (Results 1 – 2 of 2) sorted by relevance

/external/python/pybind11/tests/
Dtest_virtual_functions.py247 def unlucky_number(self): member in test_inherited_virtuals.AR
251 def unlucky_number(self): member in test_inherited_virtuals.AT
256 assert obj.unlucky_number() == 99
261 assert obj.unlucky_number() == 999
266 assert obj.unlucky_number() == 13
272 assert obj.unlucky_number() == 4444
282 assert obj.unlucky_number() == 4444
291 assert obj.unlucky_number() == 4444
301 assert obj.unlucky_number() == 4444
311 assert obj.unlucky_number() == 4444
[all …]
Dtest_virtual_functions.cpp331 virtual int unlucky_number() = 0; \
339 return say_something(1) + " " + std::to_string(unlucky_number()); \
347 int unlucky_number() override { return 13; } \
357 int unlucky_number() override { return 4444; } \
377 int unlucky_number() override { PYBIND11_OVERLOAD_PURE(int, A_Repeat, unlucky_number, ); } in unlucky_number() function in PyA_Repeat
383 int unlucky_number() override { PYBIND11_OVERLOAD(int, B_Repeat, unlucky_number, ); } in unlucky_number() function in PyB_Repeat
390 int unlucky_number() override { PYBIND11_OVERLOAD(int, C_Repeat, unlucky_number, ); } in unlucky_number() function in PyC_Repeat
397 int unlucky_number() override { PYBIND11_OVERLOAD(int, D_Repeat, unlucky_number, ); } in unlucky_number() function in PyD_Repeat
420 int unlucky_number() override { PYBIND11_OVERLOAD_PURE(int, Base, unlucky_number, ); } in unlucky_number() function in PyA_Tpl
427 int unlucky_number() override { PYBIND11_OVERLOAD(int, Base, unlucky_number, ); } in unlucky_number() function in PyB_Tpl
[all …]