private string RemainingTime() { if (_totalNumberOfMutants == 0 || _numberOfMutantsRun == 0) { return("NA"); } var elapsed = _stopWatch.GetElapsedMillisecond(); var remaining = (_totalNumberOfMutants - _numberOfMutantsRun) * elapsed / _numberOfMutantsRun; return(MillisecondsToText(remaining)); }
private string RemainingTime() { if (_mutantsToBeTested == 0 || _numberOfMutantsRan == 0) { return("NA"); } var elapsed = _stopWatch.GetElapsedMillisecond(); var remaining = (_mutantsToBeTested - _numberOfMutantsRan) * elapsed / _numberOfMutantsRan; return(MillisecondsToText(remaining)); }