2017-09-30 03:13:20 +00:00
|
|
|
<?php
|
|
|
|
|
|
|
|
return [
|
|
|
|
[
|
|
|
|
[20 => ['R' => 1]], // Expected
|
|
|
|
// Input
|
|
|
|
[20 => ['R' => 1]],
|
|
|
|
],
|
|
|
|
[
|
|
|
|
'#VALUE!', // Expected
|
|
|
|
// Input
|
|
|
|
[
|
|
|
|
20 => ['R' => 1],
|
|
|
|
21 => ['R' => 2],
|
|
|
|
],
|
|
|
|
-1,
|
|
|
|
],
|
|
|
|
[
|
|
|
|
'#REF!', // Expected
|
|
|
|
// Input
|
|
|
|
[
|
|
|
|
20 => ['R' => 1],
|
|
|
|
21 => ['R' => 2],
|
|
|
|
],
|
|
|
|
10,
|
|
|
|
],
|
|
|
|
[
|
|
|
|
[21 => ['R' => 2]], // Expected
|
|
|
|
// Input
|
|
|
|
[
|
|
|
|
20 => ['R' => 1],
|
|
|
|
21 => ['R' => 2],
|
|
|
|
],
|
|
|
|
2,
|
|
|
|
],
|
|
|
|
[
|
|
|
|
[21 => ['R' => 2, 'S' => 4]], // Expected
|
|
|
|
// Input
|
|
|
|
[
|
|
|
|
'20' => ['R' => 1, 'S' => 3],
|
|
|
|
'21' => ['R' => 2, 'S' => 4],
|
|
|
|
],
|
|
|
|
2,
|
|
|
|
0,
|
|
|
|
],
|
|
|
|
[
|
|
|
|
'#VALUE!', // Expected
|
|
|
|
// Input
|
|
|
|
[
|
|
|
|
'20' => ['R' => 1, 'S' => 3],
|
|
|
|
'21' => ['R' => 2, 'S' => 4],
|
|
|
|
],
|
|
|
|
2,
|
|
|
|
-1,
|
|
|
|
],
|
|
|
|
[
|
|
|
|
'#VALUE!', // Expected
|
|
|
|
// Input
|
|
|
|
[
|
|
|
|
'20' => ['R' => 1, 'S' => 3],
|
|
|
|
'21' => ['R' => 2, 'S' => 4],
|
|
|
|
],
|
|
|
|
2,
|
|
|
|
10,
|
|
|
|
],
|
|
|
|
[
|
|
|
|
4, // Expected
|
|
|
|
// Input
|
|
|
|
[
|
|
|
|
'20' => ['R' => 1, 'S' => 3],
|
|
|
|
'21' => ['R' => 2, 'S' => 4],
|
|
|
|
],
|
|
|
|
2,
|
|
|
|
2,
|
|
|
|
],
|
2017-10-06 05:01:20 +00:00
|
|
|
[
|
|
|
|
4, // Expected
|
|
|
|
// Input
|
|
|
|
[
|
|
|
|
'20' => ['R' => 1, 'S' => 3],
|
|
|
|
'21' => ['R' => 2, 'S' => 4],
|
|
|
|
],
|
|
|
|
[
|
|
|
|
'21' => ['R' => 2],
|
|
|
|
],
|
|
|
|
[
|
|
|
|
'21' => ['R' => 2],
|
|
|
|
],
|
|
|
|
],
|
2017-09-30 03:13:20 +00:00
|
|
|
];
|