Conditions | 1 |
Paths | 1 |
Total Lines | 10 |
Code Lines | 7 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | <?php |
||
18 | public function testBinaryComparisonOperation($formula, $expectedResultExcel, $expectedResultOpenOffice) |
||
19 | { |
||
20 | Functions::setCompatibilityMode(Functions::COMPATIBILITY_EXCEL); |
||
21 | $resultExcel = Calculation::getInstance()->_calculateFormulaValue($formula); |
||
22 | $this->assertEquals($expectedResultExcel, $resultExcel, 'should be Excel compatible'); |
||
23 | |||
24 | Functions::setCompatibilityMode(Functions::COMPATIBILITY_OPENOFFICE); |
||
25 | $resultOpenOffice = Calculation::getInstance()->_calculateFormulaValue($formula); |
||
26 | $this->assertEquals($expectedResultOpenOffice, $resultOpenOffice, 'should be OpenOffice compatible'); |
||
27 | } |
||
28 | |||
47 |
This check looks from parameters that have been defined for a function or method, but which are not used in the method body.