Conditions | 1 |
Paths | 1 |
Total Lines | 11 |
Code Lines | 7 |
Lines | 0 |
Ratio | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 1 |
1 | <?php |
||
33 | public function testParsesAllFoundStatements() |
||
34 | { |
||
35 | $statements = $this->engine->parse(); |
||
36 | |||
37 | $this->assertEquals(1, count($statements)); |
||
38 | $first = $statements[0]; |
||
39 | |||
40 | $this->assertEquals('22-07-2010', $first->getStartTimestamp('d-m-Y')); |
||
41 | $this->assertEquals('23-07-2010', $first->getEndTimestamp('d-m-Y')); |
||
42 | $this->assertEquals(-3.47, $first->getDeltaPrice()); |
||
43 | } |
||
44 | } |
||
45 |