| 1 | <?php |
||
| 10 | class RandomNumberGeneratorTest extends \PHPUnit_Framework_TestCase |
||
| 11 | { |
||
| 12 | /** @var \Utils\NumberGenerator\NumberGenerators\RandomNumberGenerator */ |
||
| 13 | protected $sut; |
||
| 14 | |||
| 15 | /** |
||
| 16 | * {@inheritDoc} |
||
| 17 | */ |
||
| 18 | public function setUp() |
||
| 22 | |||
| 23 | /** |
||
| 24 | * @dataProvider getRanges |
||
| 25 | * |
||
| 26 | * @param int $min |
||
| 27 | * @param int $max |
||
| 28 | */ |
||
| 29 | public function testRandomGeneration($min, $max) |
||
| 33 | |||
| 34 | /** |
||
| 35 | * @return array |
||
| 36 | */ |
||
| 37 | public function getRanges() |
||
| 44 | } |
||
| 45 |