public async Task CountdownStopsAt0() { using var mobo = new Mobo(); mobo.StartTheTimer(CountDownTimer.Default); await Clock.MoveForward(_defaultTimeLength); await mobo.CountDownIsPaused(); mobo.CountDownCantBeReset(); }
public async Task PausingTheTimerPausesTheCountdown() { using var mobo = new Mobo(); mobo.StartTheTimer(CountDownTimer.Default); mobo.PauseTimer(); await mobo.CountDownIsPaused(); mobo.TimerCantBeStarted(); mobo.TimerCantBePaused(); mobo.TimerCanBeStarted(); }
public async Task DefaultTimerStartsAt15mins() { using var mobo = new Mobo(); mobo.TimeLeftOnTimerIs(_defaultTimeLength); await mobo.CountDownIsPaused(); }