|
@@ -12,7 +12,7 @@ |
|
|
block discarded – undo |
|
12
|
12
|
|
|
13
|
13
|
foreach ($expected as $k => $block) { |
|
14
|
14
|
$this->assertTrue(abs(round($expected[$k]['start'], 2) - round($actual[$k]['start'], 2)) < $allowable_error, round($expected[$k]['start'], 3) . ' vs ' . round($actual[$k]['start'], 3)); |
|
15
|
|
- $this->assertTrue(abs(round($expected[$k]['end'], 2) - round($actual[$k]['end'], 2)) < $allowable_error, round($expected[$k]['end'], 3) . ' vs ' . round($actual[$k]['end'], 3)); |
|
|
15
|
+ $this->assertTrue(abs(round($expected[$k]['end'], 2) - round($actual[$k]['end'], 2)) < $allowable_error, round($expected[$k]['end'], 3) . ' vs ' . round($actual[$k]['end'], 3)); |
|
16
|
16
|
|
|
17
|
17
|
$this->assertEquals(count($expected[$k]['lines']), count($actual[$k]['lines']), 'Line count is different'); |
|
18
|
18
|
foreach ($expected[$k]['lines'] as $line_k => $line) { |
Please login to merge, or discard this patch.