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

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

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

Метод Описание
providerForStaticIntToFloatCases ( )
providerForStaticIntToIntCases ( ) : array
testFirstUnexpectedTypes ( ) Tests {left-expr::UNKNOWN} === {right-expr}
testSecondUnexpectedTypes ( ) Tests {left-expr} === {right-expr::UNKNOWN}
testStaticFailFloatToInt ( integer $a, integer $b ) Tests (float) {left-expr} ==== (int) {right-expr}
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}

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

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

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

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

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

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

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

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