/**
  * Initializes a new instance of this class.
  *
  * @param int $min The minimum value.
  * @param int $max The maximum value.
  */
 public function __construct($min = 0, $max = PHP_INT_MAX)
 {
     $value = rand($min, $max);
     parent::__construct($value);
 }
Exemplo n.º 2
0
 public function testExecute()
 {
     $variable = new IntegerVariable();
     $variable->execute();
 }