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

Inheritance: extends Tests\PHPSA\TestCase
Afficher le fichier Open project: ovr/phpsa

Méthodes publiques

Méthode Description
providerForStaticIntToFloatCases ( )
providerForStaticIntToIntCases ( ) : array
testFirstUnexpectedTypes ( ) Tests {left-expr::UNKNOWN} !== {right-expr}
testSecondUnexpectedTypes ( ) Tests {left-expr} !== {right-expr::UNKNOWN}
testStaticFailIntToFloat ( integer $a, integer $b ) Tests (int) {left-expr} !== (float) {right-expr}
testStaticFloatToFloat ( integer $a, integer $b ) Tests (float) {left-expr} !== (float) {right-expr}
testStaticIntToInt ( integer $a, integer $b ) Tests (int) {left-expr} !=== (int) {right-expr}

Method Details

providerForStaticIntToFloatCases() public méthode

providerForStaticIntToIntCases() public méthode

public providerForStaticIntToIntCases ( ) : array
Résultat array

testFirstUnexpectedTypes() public méthode

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

testSecondUnexpectedTypes() public méthode

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

testStaticFailIntToFloat() public méthode

Tests (int) {left-expr} !== (float) {right-expr}

testStaticFloatToFloat() public méthode

Tests (float) {left-expr} !== (float) {right-expr}

testStaticIntToInt() public méthode

Tests (int) {left-expr} !=== (int) {right-expr}