You are here

public function SpecificityTest::getValueTestData in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 vendor/symfony/css-selector/Tests/Node/SpecificityTest.php \Symfony\Component\CssSelector\Tests\Node\SpecificityTest::getValueTestData()

File

vendor/symfony/css-selector/Tests/Node/SpecificityTest.php, line 30

Class

SpecificityTest

Namespace

Symfony\Component\CssSelector\Tests\Node

Code

public function getValueTestData() {
  return array(
    array(
      new Specificity(0, 0, 0),
      0,
    ),
    array(
      new Specificity(0, 0, 2),
      2,
    ),
    array(
      new Specificity(0, 3, 0),
      30,
    ),
    array(
      new Specificity(4, 0, 0),
      400,
    ),
    array(
      new Specificity(4, 3, 2),
      432,
    ),
  );
}