PHP Класс Tests\PHPSA\Compiler\Expression\BinaryOp\NotIndenticalTest

Наследование: extends Tests\PHPSA\TestCase
Показать файл Открыть проект

Открытые методы

Метод Описание
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}

Описание методов

providerForStaticIntToFloatCases() публичный Метод

providerForStaticIntToIntCases() публичный Метод

public providerForStaticIntToIntCases ( ) : array
Результат array

testFirstUnexpectedTypes() публичный Метод

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

testSecondUnexpectedTypes() публичный Метод

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

testStaticFailIntToFloat() публичный Метод

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

testStaticFloatToFloat() публичный Метод

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

testStaticIntToInt() публичный Метод

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