You are here

public function RangeValidatorTest::getInvalidValues in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 vendor/symfony/validator/Tests/Constraints/RangeValidatorTest.php \Symfony\Component\Validator\Tests\Constraints\RangeValidatorTest::getInvalidValues()

File

vendor/symfony/validator/Tests/Constraints/RangeValidatorTest.php, line 379

Class

RangeValidatorTest

Namespace

Symfony\Component\Validator\Tests\Constraints

Code

public function getInvalidValues() {
  return array(
    array(
      9.999999000000001,
    ),
    array(
      20.000001,
    ),
    array(
      '9.999999',
    ),
    array(
      '20.000001',
    ),
    array(
      new \stdClass(),
    ),
  );
}