1 | <?php |
||
10 | class MinusTest extends AbstractBinaryOp |
||
11 | { |
||
12 | /** |
||
13 | * Data provider for {var} -= {expr} with result type = int |
||
14 | * |
||
15 | * @return array |
||
16 | */ |
||
17 | public function minusResultIntDataProvider() |
||
33 | |||
34 | /** |
||
35 | * Tests {var} -= {expr} with result type = int |
||
36 | * |
||
37 | * @dataProvider minusResultIntDataProvider |
||
38 | */ |
||
39 | public function testMinusResultInt($a, $b, $c) |
||
52 | |||
53 | /** |
||
54 | * Data provider for {var} -= {expr} with result type = double |
||
55 | * |
||
56 | * @return array |
||
57 | */ |
||
58 | public function minusResultDoubleDataProvider() |
||
70 | |||
71 | /** |
||
72 | * Tests {var} -= {expr} with result type = double |
||
73 | * |
||
74 | * @dataProvider minusResultDoubleDataProvider |
||
75 | */ |
||
76 | public function testMinusResultDouble($a, $b, $c) |
||
89 | |||
90 | /** |
||
91 | * @param Node\Scalar $a |
||
92 | * @param Node\Scalar $b |
||
93 | * @return Node\Expr\AssignOp\Minus |
||
94 | */ |
||
95 | protected function buildExpression($a, $b) |
||
99 | } |
||
100 |