public function SpecificityTest::getCompareTestData in Zircon Profile 8
Same name and namespace in other branches
- 8.0 vendor/symfony/css-selector/Tests/Node/SpecificityTest.php \Symfony\Component\CssSelector\Tests\Node\SpecificityTest::getCompareTestData()
File
- vendor/symfony/css-selector/Tests/Node/SpecificityTest.php, line 47
Class
- SpecificityTest
Namespace
Symfony\Component\CssSelector\Tests\Node
Code
public function getCompareTestData() {
return array(
array(
new Specificity(0, 0, 0),
new Specificity(0, 0, 0),
0,
),
array(
new Specificity(0, 0, 1),
new Specificity(0, 0, 1),
0,
),
array(
new Specificity(0, 0, 2),
new Specificity(0, 0, 1),
1,
),
array(
new Specificity(0, 0, 2),
new Specificity(0, 0, 3),
-1,
),
array(
new Specificity(0, 4, 0),
new Specificity(0, 4, 0),
0,
),
array(
new Specificity(0, 6, 0),
new Specificity(0, 5, 11),
1,
),
array(
new Specificity(0, 7, 0),
new Specificity(0, 8, 0),
-1,
),
array(
new Specificity(9, 0, 0),
new Specificity(9, 0, 0),
0,
),
array(
new Specificity(11, 0, 0),
new Specificity(10, 11, 0),
1,
),
array(
new Specificity(12, 11, 0),
new Specificity(13, 0, 0),
-1,
),
);
}