1 | <?php |
||
10 | class DivTest extends AbstractBinaryOp |
||
11 | { |
||
12 | /** |
||
13 | * Data provider for {var} /= {expr} with result type = int |
||
14 | * |
||
15 | * @return array |
||
16 | */ |
||
17 | public function divResultIntDataProvider() |
||
32 | |||
33 | /** |
||
34 | * Tests {var} /= {expr} with result type = int |
||
35 | * |
||
36 | * @dataProvider divResultIntDataProvider |
||
37 | */ |
||
38 | public function testDivResultInt($a, $b, $c) |
||
51 | |||
52 | /** |
||
53 | * Data provider for {var} /= {expr} with result type = double |
||
54 | * |
||
55 | * @return array |
||
56 | */ |
||
57 | public function divResultDoubleDataProvider() |
||
68 | |||
69 | /** |
||
70 | * Tests {var} /= {expr} with result type = double |
||
71 | * |
||
72 | * @dataProvider divResultDoubleDataProvider |
||
73 | */ |
||
74 | public function testDivResultDouble($a, $b, $c) |
||
87 | |||
88 | /** |
||
89 | * @param Node\Scalar $a |
||
90 | * @param Node\Scalar $b |
||
91 | * @return Node\Expr\AssignOp\Div |
||
92 | */ |
||
93 | protected function buildExpression($a, $b) |
||
97 | } |
||
98 |