| Conditions | 1 |
| Paths | 1 |
| Total Lines | 10 |
| Code Lines | 6 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 30 | public function testParsesAllFoundStatements() |
||
| 31 | { |
||
| 32 | $statements = $this->engine->parse(); |
||
| 33 | |||
| 34 | $this->assertCount(1, $statements); |
||
| 35 | $first = $statements[0]; |
||
| 36 | |||
| 37 | $this->assertEquals('22-07-2010', $first->getStartTimestamp('d-m-Y')); |
||
| 38 | $this->assertEquals('23-07-2010', $first->getEndTimestamp('d-m-Y')); |
||
| 39 | $this->assertEquals(-3.47, $first->getDeltaPrice()); |
||
| 40 | } |
||
| 53 |