(self, timer)
| 50 | print("Example 1") |
| 51 | class Toaster: |
| 52 | def __init__(self, timer): |
| 53 | self.timer = timer |
| 54 | self.doneness = 3 |
| 55 | self.hot = False |
| 56 | |
| 57 | def _get_duration(self): |
| 58 | return max(0.1, min(120, self.doneness * 10)) |
nothing calls this directly
no outgoing calls
no test coverage detected