Files
PhpSpreadsheet/tests/data/Calculation/Statistical/FDIST.php
T
oleibman d2deb133bc Fix Unintential Deprecated Calls in Tests - STATISTICAL (#3181)
* Fix Unintential Deprecated Calls in Tests - STATISTICAL

I think it's best to install these before PR #3166. There are no changes to source code, only to doc-blocks and to test members which continue to inadvertently use calls to deprecated functions.

* Missed One Deprecation

Fix it now.

* Run Tests in Spreadsheet Context

This is quite a bit more difficult for Statistical than for the other Calculation categories. This is partly because of the use of multi-dimensional matrices, and also because some arguments are interpreted differently when they come from a cell rather than entered directly in a formula. This push leaves 18 out of 89 test members unchanged, except that they are marked with a TODO to show that the work isn't finished. I will not revisit them as part of this PR, but probably will take a look in a subsequent ticket.
2022-11-25 13:57:17 -08:00

77 lines
1.1 KiB
PHP

<?php
return [
[
0.001223791709,
15.2069, 6, 4, false,
],
[
0.990000043003,
15.2069, 6, 4, true,
],
[
0.308000821694,
1, 2, 5, false,
],
[
0.568798849629,
1, 2, 5, true,
],
[
0.0241472644208,
5, 1, 2, false,
],
[
0.8451542547285,
5, 1, 2, true,
],
[
0.0006669496615,
65, 2, 1, false,
],
[
0.9126295943339,
65, 2, 1, true,
],
[
4.7306581130012E-6,
65, 8, 5, false,
],
[
0.9998747923834,
65, 8, 5, true,
],
[
0.0017323823929,
7.5, 13, 8, false,
],
[
0.9961476916638,
7.5, 13, 8, true,
],
[
'#VALUE!',
'NAN', 13, 8, true,
],
[
'#VALUE!',
7.5, 'NAN', 8, true,
],
'too many arguments' => [
'exception',
7.5, 13, 'NAN', 8, false,
],
[
'#NUM!',
-7.5, 13, 8, true,
],
[
'#NUM!',
7.5, 0, 8, true,
],
[
'#NUM!',
7.5, 13, 0, true,
],
];