1 | <?php |
||
10 | class DoubleCastTest extends AbstractUnaryOp |
||
11 | { |
||
12 | /** |
||
13 | * @return array |
||
14 | */ |
||
15 | public function getDataProvider() |
||
26 | |||
27 | /** |
||
28 | * Tests (double) {expr} = {expr} |
||
29 | * |
||
30 | * @dataProvider getDataProvider |
||
31 | */ |
||
32 | public function testDoubleCastCompile($a, $b) |
||
43 | |||
44 | /** |
||
45 | * @param Node\Scalar $a |
||
46 | * @return Node\Expr\Cast\Double |
||
47 | */ |
||
48 | protected function buildExpression($a) |
||
52 | } |
||
53 |