| 34 | |
| 35 | public: |
| 36 | void insert(double fraction) |
| 37 | { |
| 38 | assert(fraction >= 0); |
| 39 | assert(fraction <= 1); |
| 40 | Histogram::insert(int(fraction * 100)); |
| 41 | } |
| 42 | |
| 43 | friend std::ostream& operator<<(std::ostream& o, const FractionHistogram& h) |
| 44 | { |
no outgoing calls
no test coverage detected