PHP Class Tests\PHPSA\Compiler\Expression\BinaryOp\EqualTest

Inheritance: extends Tests\PHPSA\TestCase
Show file Open project: ovr/phpsa

Public Methods

Method Description
providerForStaticEqualsFalse ( ) : array
providerForStaticEqualsTrue ( ) : array
testFirstUnexpectedTypes ( ) Tests {left-expr::UNKNOWN} == {right-expr}
testSecondUnexpectedTypes ( ) Tests {left-expr} == {right-expr::UNKNOWN}
testStaticEqualsFalse ( integer $a, integer $b ) Tests {left-expr} == {right-expr} but for false
testStaticEqualsTrue ( integer $a, integer $b ) Tests {left-expr} == {right-expr}

Method Details

providerForStaticEqualsFalse() public method

providerForStaticEqualsTrue() public method

testFirstUnexpectedTypes() public method

Tests {left-expr::UNKNOWN} == {right-expr}

testSecondUnexpectedTypes() public method

Tests {left-expr} == {right-expr::UNKNOWN}

testStaticEqualsFalse() public method

Tests {left-expr} == {right-expr} but for false

testStaticEqualsTrue() public method

Tests {left-expr} == {right-expr}