public void UnpauseUnpauses() { var tested = new TestedProgressReporter(); tested.Start(2); tested.ReportProgress(); tested.Pause(); tested.UnPause(); var elapsed = tested.Elapsed; Thread.Sleep(1); Assert.True(tested.Elapsed > elapsed); }
public void UnpauseUnpauses() { var tested = new TestedProgressReporter(); tested.Start(2); tested.ReportProgress(); tested.Pause(); tested.UnPause(); var elapsed = tested.Elapsed; Thread.Sleep(1); Assert.True(tested.Elapsed > elapsed); }