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.py278 def unlucky_number(self): member in test_inherited_virtuals.AR
282 def unlucky_number(self): member in test_inherited_virtuals.AT
287 assert obj.unlucky_number() == 99
292 assert obj.unlucky_number() == 999
297 assert obj.unlucky_number() == 13
303 assert obj.unlucky_number() == 4444
313 assert obj.unlucky_number() == 4444
322 assert obj.unlucky_number() == 4444
332 assert obj.unlucky_number() == 4444
342 assert obj.unlucky_number() == 4444
[all …]
Dtest_virtual_functions.cpp343 virtual int unlucky_number() = 0; \
351 return say_something(1) + " " + std::to_string(unlucky_number()); \
361 int unlucky_number() override { return 13; } \
371 int unlucky_number() override { return 4444; } \
396 int unlucky_number() override { PYBIND11_OVERRIDE_PURE(int, A_Repeat, unlucky_number, ); } in unlucky_number() function in PyA_Repeat
402 int unlucky_number() override { PYBIND11_OVERRIDE(int, B_Repeat, unlucky_number, ); } in unlucky_number() function in PyB_Repeat
409 int unlucky_number() override { PYBIND11_OVERRIDE(int, C_Repeat, unlucky_number, ); } in unlucky_number() function in PyC_Repeat
416 int unlucky_number() override { PYBIND11_OVERRIDE(int, D_Repeat, unlucky_number, ); } in unlucky_number() function in PyD_Repeat
439 int unlucky_number() override { PYBIND11_OVERRIDE_PURE(int, Base, unlucky_number, ); } in unlucky_number() function in PyA_Tpl
446 int unlucky_number() override { PYBIND11_OVERRIDE(int, Base, unlucky_number, ); } in unlucky_number() function in PyB_Tpl
[all …]