You are here

public function IntervalTest::getTests in Zircon Profile 8.0

Same name and namespace in other branches
  1. 8 vendor/symfony/translation/Tests/IntervalTest.php \Symfony\Component\Translation\Tests\IntervalTest::getTests()

File

vendor/symfony/translation/Tests/IntervalTest.php, line 34

Class

IntervalTest

Namespace

Symfony\Component\Translation\Tests

Code

public function getTests() {
  return array(
    array(
      true,
      3,
      '{1,2, 3 ,4}',
    ),
    array(
      false,
      10,
      '{1,2, 3 ,4}',
    ),
    array(
      false,
      3,
      '[1,2]',
    ),
    array(
      true,
      1,
      '[1,2]',
    ),
    array(
      true,
      2,
      '[1,2]',
    ),
    array(
      false,
      1,
      ']1,2[',
    ),
    array(
      false,
      2,
      ']1,2[',
    ),
    array(
      true,
      log(0),
      '[-Inf,2[',
    ),
    array(
      true,
      -log(0),
      '[-2,+Inf]',
    ),
  );
}