Fix tests
This commit is contained in:
parent
18f243fe80
commit
4c9be54f64
|
@ -43,7 +43,7 @@ public class StopWatch {
|
|||
|
||||
/** forteller klokken at ticks antall tikk har gått. */
|
||||
public void tick(int ticks) {
|
||||
// this.totalTicks += ticks;
|
||||
this.totalTicks += ticks;
|
||||
if (this.hasBeenStarted ^ this.hasBeenStopped)
|
||||
this.totalTime += ticks;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue