| 78 | { |
| 79 | using base = DefectiveSwitch<inum>; |
| 80 | void entry() override { |
| 81 | DumpState(inum, "OFF", base::on_counter, base::defect_level); |
| 82 | }; |
| 83 | void react(Toggle const &) override { |
| 84 | if((rand() % (base::defect_level + 1)) == 0) |
| 85 | base::template transit< On<inum> >(); |
nothing calls this directly
no test coverage detected