pub fn assert_gt_exactly(&self, value: f64, exactly: f64) -> &Self {
        // We set this to true after we've iterated past the first bucket
        // whose upper bound is >= `value`.
        let mut past_le = false;
        for (&bucket, count) in self {
            if bucket < value {
                continue;
            }

            if bucket >= value && !past_le {
                past_le = true;
                continue;
            }

            if past_le {
                assert_eq!(
                    count.value(),
                    exactly,
                    "bucket={:?}; value={:?};",
                    bucket,
                    value,
                );
            }
        }
        self
    }
/// Assert all buckets greater than the one containing `value` have
/// counts of exactly `exactly`.
Assert all buckets greater than the one containing `value` have
counts of exactly `exactly`.
Assert all buckets greater than the one containing ` value ` have counts of exactly ` exactly ` .
pub fn assert_gt_exactly(&self, value: f64, exactly: f64) -> &Self {
        // We set this to true after we've iterated past the first bucket
        // whose upper bound is >= `value`.
        let mut past_le = false;
        for (&bucket, count) in self {
            if bucket < value {
                continue;
            }
            if bucket >= value && !past_le {
                past_le = true;
                continue;
            }
            if past_le {
                assert_eq!(
                    count.value(),
                    exactly,
                    "bucket={:?}; value={:?};",
                    bucket,
                    value,
                );
            }
        }
        self
    }
pub fn assert_gt_exactly ( & self , value : f64 , exactly : f64 ) -> & Self { // We set this to true after we've iterated past the first bucket // whose upper bound is >= `value`. let mut past_le = false ; for ( & bucket , count ) in self { if bucket < value { continue ; } if bucket >= value && ! past_le { past_le = true ; continue ; } if past_le { assert_eq ! ( count value ( ) exactly " " bucket value ) ; } } self }
Assert all buckets greater than the one containing `value` have
counts of exactly `exactly`.
Assert all buckets greater than the one containing ` value ` have counts of exactly ` exactly ` .
&self
value
f64
exactly
f64
&self
value
f64
exactly
f64