| Conditions | 1 |
| Paths | 1 |
| Total Lines | 12 |
| Code Lines | 8 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 36 | public function testSimpleSuccessCompileInteger($a, $b, $c) |
||
| 37 | { |
||
| 38 | $baseExpression = new Node\Expr\AssignOp\BitwiseAnd( |
||
| 39 | $this->newScalarExpr($a), |
||
| 40 | $this->newScalarExpr($b) |
||
| 41 | ); |
||
| 42 | $compiledExpression = $this->compileExpression($baseExpression); |
||
| 43 | |||
| 44 | $this->assertInstanceOfCompiledExpression($compiledExpression); |
||
| 45 | $this->assertSame(CompiledExpression::INTEGER, $compiledExpression->getType()); |
||
| 46 | $this->assertSame($c, $compiledExpression->getValue()); |
||
| 47 | } |
||
| 48 | |||
| 59 |