1 | <?php |
||
14 | class NotIndenticalTest extends AbstractBinaryOp |
||
15 | { |
||
16 | /** |
||
17 | * @return array |
||
18 | */ |
||
19 | public function providerForStaticIntToIntCases() |
||
30 | |||
31 | /** |
||
32 | * Tests (int) {left-expr} !=== (int) {right-expr} |
||
33 | * |
||
34 | * @param int $a |
||
35 | * @param int $b |
||
36 | * |
||
37 | * @dataProvider providerForStaticIntToIntCases |
||
38 | */ |
||
39 | public function testStaticIntToInt($a, $b) |
||
54 | |||
55 | /** |
||
56 | * Tests (float) {left-expr} !== (float) {right-expr} |
||
57 | * |
||
58 | * @param int $a |
||
59 | * @param int $b |
||
60 | * |
||
61 | * @dataProvider providerForStaticIntToIntCases |
||
62 | */ |
||
63 | public function testStaticFloatToFloat($a, $b) |
||
84 | |||
85 | public function providerForStaticIntToFloatCases() |
||
95 | |||
96 | /** |
||
97 | * Tests (int) {left-expr} !== (float) {right-expr} |
||
98 | * |
||
99 | * @param int $a |
||
100 | * @param int $b |
||
101 | * |
||
102 | * @dataProvider providerForStaticIntToFloatCases |
||
103 | */ |
||
104 | public function testStaticIntToFloat($a, $b) |
||
121 | |||
122 | /** |
||
123 | * @param Node\Scalar $a |
||
124 | * @param Node\Scalar $b |
||
125 | * @return Node\Expr\BinaryOp\NotIdentical |
||
126 | */ |
||
127 | protected function buildExpression($a, $b) |
||
131 | } |
||
132 |