public void AfterTakingElement_CountIsUpdated() { AddElement(); AddElement(); _timedList.Take(Duration); Check.That(_timedList.Count).IsEqualTo(1); }
public IEnumerable <RecordedInput> GetInputForDuration(float duration) { return(_timedList.Take(duration).Select(q => new RecordedInput(q.Value, q.Duration))); }