You are here

public function SpecificityTest::testPlusValue in Zircon Profile 8.0

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

@dataProvider getValueTestData

File

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

Class

SpecificityTest

Namespace

Symfony\Component\CssSelector\Tests\Node

Code

public function testPlusValue(Specificity $specificity, $value) {
  $this
    ->assertEquals($value + 123, $specificity
    ->plus(new Specificity(1, 2, 3))
    ->getValue());
}