public void ResetResetsCompletely() { // Arrange var tested = new TestedProgressReporter(); // Act tested.Restart(2); tested.ReportProgress(); tested.ReportProgress(); tested.Reset(); Assert.True(tested.IsIdle); Assert.False(tested.IsRunning); Assert.False(tested.UsedAtLestOnce); Assert.Equal(default(TimeSpan), tested.AverageCycleDuration); Assert.Equal(0, tested.AverageCycleStep); Assert.Equal(0, tested.CompletedPercent); Assert.Equal(0, tested.CompletedRawValue); Assert.Equal(0, tested.CurrentCycle); Assert.Equal(0, tested.CurrentRawValue); Assert.Equal(0, tested.LastCycleStep); Assert.Equal(0, tested.PreviousRawValue); Assert.Equal(0, tested.RemainingCyclesEstimate); Assert.Equal(100, tested.RemainingPercent); Assert.Equal(0, tested.RemainingRawValue); Assert.Equal(default(TimeSpan), tested.RemainingTimeEstimate); Assert.Equal(default(TimeSpan), tested.Elapsed); Assert.Equal(0, tested.TargetCycleEstimate); Assert.Equal(0, tested.TargetRawValue); }