public function testHistogram(array $data, $steps, $lower, $upper, array $expected) { $result = Statistics::histogram($data, $steps, $lower, $upper); $this->assertEquals($expected, $result); }