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