Searched refs:lucky_number (Results 1 - 2 of 2) sorted by relevance

/gem5/ext/pybind11/tests/
H A Dtest_virtual_functions.py267 assert obj.lucky_number() == 7.0
273 assert obj.lucky_number() == 888.0
277 def lucky_number(self): member in class:test_inherited_virtuals.CR
278 return m.C_Repeat.lucky_number(self) + 1.25
283 assert obj.lucky_number() == 889.25
292 assert obj.lucky_number() == 888.0
296 def lucky_number(self): member in class:test_inherited_virtuals.CCR
297 return CR.lucky_number(self) * 10
302 assert obj.lucky_number() == 8892.5
306 def lucky_number(sel member in class:test_inherited_virtuals.CCT
319 def lucky_number(self): member in class:test_inherited_virtuals.DR
341 def lucky_number(self): member in class:test_inherited_virtuals.DT
364 def lucky_number(self): member in class:test_inherited_virtuals.BT
[all...]
H A Dtest_virtual_functions.cpp351 virtual double lucky_number() { return 7.0; }
358 double lucky_number() override { return 888; }
385 double lucky_number() override { PYBIND11_OVERLOAD(double, B_Repeat, lucky_number, ); }
392 double lucky_number() override { PYBIND11_OVERLOAD(double, C_Repeat, lucky_number, ); }
399 double lucky_number() override { PYBIND11_OVERLOAD(double, D_Repeat, lucky_number, ); }
428 double lucky_number() override { PYBIND11_OVERLOAD(double, Base, lucky_number, ); }
[all...]

Completed in 6 milliseconds