public void TestGetPercentileAtOrBelowValue() { Assert.AreEqual(99.99, RawHistogram.GetPercentileAtOrBelowValue(5000), 0.0001, "Raw percentile at or below 5 msec is 99.99% +/- 0.0001"); Assert.AreEqual(50.0, LongHistogram.GetPercentileAtOrBelowValue(5000), 0.0001, "Percentile at or below 5 msec is 50% +/- 0.0001%"); Assert.AreEqual(100.0, LongHistogram.GetPercentileAtOrBelowValue(100000000L), 0.0001, "Percentile at or below 100 sec is 100% +/- 0.0001%"); }