/** * @dataProvider dataProviderForMax */ public function testMax(array $xs, $value, array $maxes) { $this->assertEquals($maxes, Single::max($xs, $value)); }