342ffb629b
* Merge branch 'master' of C:\Projects\PHPOffice\PHPSpreadsheet\develop with conflicts. * First pass at moving MathTrig tests into individual test files * Appeasement to the great goddess PHPCS * Appeasement to the great goddess PHPCS * Minor scrutinizer issue resolved * More refactoring of tests into individual test files fr each math/trig function * More work on the math/trig test refactoring, plus a bit of tidyup of date/time tests as well * Fix test * Fix docblock in test * Finish refactoring Math/Trig tests into separate files * Fix SubTotal Test * Import additional classes for SubTotal test
141 lines
2.2 KiB
PHP
141 lines
2.2 KiB
PHP
<?php
|
|
|
|
return [
|
|
[
|
|
'#VALUE!',
|
|
'ABC', '2007-1-10', false,
|
|
],
|
|
[
|
|
'#VALUE!',
|
|
'2007-1-1', 'DEF', true,
|
|
],
|
|
[
|
|
'#VALUE!',
|
|
'2007-1-1', '2007-1-10', 'XYZ',
|
|
],
|
|
[
|
|
'#VALUE!',
|
|
'2007-1-10', '2007-1-1', 'Y',
|
|
],
|
|
[
|
|
9,
|
|
'2007-1-1', '2007-1-10', false,
|
|
],
|
|
[
|
|
9,
|
|
'2007-1-1', '2007-1-10', true,
|
|
],
|
|
[
|
|
360,
|
|
'2007-1-1', '2007-12-31', false,
|
|
],
|
|
[
|
|
359,
|
|
'2007-1-1', '2007-12-31', true,
|
|
],
|
|
[
|
|
540,
|
|
'2007-1-1', '2008-7-1', false,
|
|
],
|
|
[
|
|
540,
|
|
'2007-1-1', '2008-7-1', true,
|
|
],
|
|
[
|
|
30,
|
|
'2007-1-1', '2007-1-31', false,
|
|
],
|
|
[
|
|
29,
|
|
'2007-1-1', '2007-1-31', true,
|
|
],
|
|
[
|
|
30,
|
|
'2007-1-1', '2007-2-1', false,
|
|
],
|
|
[
|
|
30,
|
|
'2007-1-1', '2007-2-1', true,
|
|
],
|
|
[
|
|
57,
|
|
'2007-1-1', '2007-2-28', false,
|
|
],
|
|
[
|
|
57,
|
|
'2007-1-1', '2007-2-28', true,
|
|
],
|
|
[
|
|
1,
|
|
'2007-1-31', '2007-2-1', false,
|
|
],
|
|
[
|
|
1,
|
|
'2007-1-31', '2007-2-1', true,
|
|
],
|
|
[
|
|
31,
|
|
'2007-1-31', '2007-3-1', false,
|
|
],
|
|
[
|
|
31,
|
|
'2007-1-31', '2007-3-1', true,
|
|
],
|
|
[
|
|
60,
|
|
'2007-1-31', '2007-3-31', false,
|
|
],
|
|
[
|
|
60,
|
|
'2007-1-31', '2007-3-31', true,
|
|
],
|
|
[
|
|
240,
|
|
'2008-1-1', '2008-9-1', false,
|
|
],
|
|
[
|
|
240,
|
|
'2008-1-1', '2008-9-1', true,
|
|
],
|
|
[
|
|
420,
|
|
'2007-2-1', '2008-4-1', false,
|
|
],
|
|
[
|
|
420,
|
|
'2007-2-1', '2008-4-1', true,
|
|
],
|
|
[
|
|
17109,
|
|
'1960-12-19', '2008-6-28', false,
|
|
],
|
|
[
|
|
17109,
|
|
'1960-12-19', '2008-6-28', true,
|
|
],
|
|
[
|
|
9201,
|
|
'1982-12-7', '2008-6-28', false,
|
|
],
|
|
[
|
|
9201,
|
|
'1982-12-7', '2008-6-28', true,
|
|
],
|
|
[
|
|
33,
|
|
'2000-2-28', '2000-3-31', false,
|
|
],
|
|
[
|
|
32,
|
|
'2000-2-28', '2000-3-31', true,
|
|
],
|
|
[
|
|
30,
|
|
'2000-2-29', '2000-3-31', false,
|
|
],
|
|
[
|
|
31,
|
|
'2000-2-29', '2000-3-31', true,
|
|
],
|
|
];
|