| 60 | } |
| 61 | |
| 62 | bool CountDown::tickAndGetIsExpired() |
| 63 | { |
| 64 | if (this->tick <= 1) |
| 65 | { |
| 66 | this->tick = this->initialTicks; |
| 67 | return true; |
| 68 | } |
| 69 | this->tick--; |
| 70 | return false; |
| 71 | } |
| 72 | |
| 73 | StopWatch::StopWatch() |
| 74 | { |
no outgoing calls
no test coverage detected