mirror of
https://github.com/PHPOffice/PhpSpreadsheet.git
synced 2026-08-26 16:48:32 +00:00
d93a303371
* Fix Unintential Deprecated Calls in Tests - ENGINEERING I think it's best to install these before PR #3166. There are no changes to source code, only to test members which continue to inadvertently use calls to deprecated functions. * Fix deprecation DocBlocks Deprecated->deprecated, adjust see and comments * Fix Deliberate Deprecated Tests Add annotations. * Run Unit Tests in Spreadsheet Context This turned up only one error, in IMSUB. The only group that still needs this is Statistical. Not sure if I will get to that quickly.
53 lines
924 B
PHP
53 lines
924 B
PHP
<?php
|
|
|
|
use PhpOffice\PhpSpreadsheet\Calculation\Information\ExcelError;
|
|
|
|
return [
|
|
[
|
|
ExcelError::NAN(),
|
|
'12.34+5.67j',
|
|
'123.45+67.89i',
|
|
],
|
|
[
|
|
ExcelError::NAN(),
|
|
'12.34+5.67j',
|
|
'Invalid Complex Number',
|
|
],
|
|
[
|
|
'111.11+62.22j',
|
|
'123.45+67.89j',
|
|
'12.34+5.67j',
|
|
],
|
|
[
|
|
'-111.11-62.22j',
|
|
'12.34+5.67j',
|
|
'123.45+67.89j',
|
|
],
|
|
[
|
|
'-111.11-62.22i',
|
|
'12.34+5.67i',
|
|
'123.45+67.89i',
|
|
],
|
|
'too many arguments' => [
|
|
'exception',
|
|
'12.34+5.67i',
|
|
'123.45+67.89i',
|
|
'123.45+67.89i',
|
|
],
|
|
[
|
|
'-135.79+62.22i',
|
|
'-12.34-5.67i',
|
|
'123.45-67.89i',
|
|
],
|
|
[
|
|
'135.79+62.22i',
|
|
'12.34-5.67i',
|
|
'-123.45-67.89i',
|
|
],
|
|
[
|
|
'111.11+62.22i',
|
|
'-12.34-5.67i',
|
|
'-123.45-67.89i',
|
|
],
|
|
];
|