private void AddMeasurementsToResult(IEnumerable <double> measurements) { foreach (double time in measurements) { result.AddMeasurement(time); } }
public void AddMeasurement_adds_a_nu_alue_to_the_list() { result.AddMeasurement(7); Assert.That(result.Measurements, Contains.Item(7)); }