Exemple #1
0
        public void ShouldAddObservations()
        {
            AddObservations(_histogram, 10L, 30L, 50L);

            var histogram2 = new Histogram(Intervals);

            AddObservations(histogram2, 10L, 20L, 25L);

            _histogram.AddObservations(histogram2);

            Assert.AreEqual(6L, _histogram.Count);
        }