PhpSpreadsheet/tests/data/Calculation/Statistical/LARGE.php
Mark Baker 9683e5be18
More unit tests for statistical functions, including a bugfix to LARGE() (#1601)
* More unit tests for statistical functions, including a bugfix to LARGE() that was identified in testing
2020-07-29 23:56:37 +02:00

35 lines
474 B
PHP

<?php
return [
[
5,
[3, 4, 5, 2, 3, 4, 5, 6, 4, 7],
3,
],
[
4,
[3, 4, 5, 2, 3, 4, 5, 6, 4, 7],
7,
],
[
2,
[3, 4, '5', 2, 3, 4, '5', '6', 4, '7'],
6,
],
[
'#VALUE!',
[3, 4, 5, 2, 3, 4, 5, 6, 4, 7],
'NAN',
],
[
'#NUM!',
[3, 4, 5, 2, 3, 4, 5, 6, 4, 7],
-1,
],
[
'#NUM!',
[],
1,
],
];