/** * Tests the valid::range() function. * @dataProvider range_provider * @group core.helpers.valid.range * @test */ public function range($input_number, array $input_range, $expected_result) { $result = valid::range($input_number, $input_range); $this->assertEquals($expected_result, $result); }