Commit Graph

39 Commits

Author SHA1 Message Date
Mark Baker 9ecfc0c8b4 Merge pull request #10 from PowerKiKi/unit-tests-bessel
Fix unit tests for BESSEL functions
2016-08-13 11:40:19 +01:00
Mark Baker 408c1a9218 Merge pull request #11 from PowerKiKi/unit-tests-imexp
Fix unit tests for IMEXP() function
2016-08-13 11:40:11 +01:00
Mark Baker 98ccf97e55 Merge pull request #12 from PowerKiKi/unit-tests-base-conversion
Fix unit tests for all base conversion functions
2016-08-13 11:40:02 +01:00
Adrien Crivelli af42b80eba
Fix unit tests for ACCRINT() function
The expected value were incorrect according to LibreOffice 5 and
Google Spreadsheet.
2016-08-07 20:54:30 +09:00
Adrien Crivelli 8fc29bd1b1
Fix unit tests for all base conversion functions
This include cases were artificial constraints were not checked
(eg: between -512 and 511 for `DECBIN`) and some bugs were 32
bits platform were assumed.

The following are covered:

`BIN2DEC`, `BIN2HEX`, `BIN2OCT`,
`DEC2BIN`, `DEC2HEX`, `DEC2OCT`,
`HEX2BIN`, `HEX2DEC`, `HEX2OCT`,
`OCT2BIN`, `OCT2DEC`, `OCT2HEX`
2016-08-01 02:48:51 +09:00
Adrien Crivelli 450c6ead99
Fix unit tests for IMEXP() function
The expected value were incorrect according to LibreOffice 5 and
wolframalpha.com.
2016-07-31 23:24:08 +09:00
Adrien Crivelli 3a38cc8f0a
Fix unit tests for BESSEL functions
Expected data were re-written by using LibreOffice 5 as a reference.
We kept only 8 decimals, because this is the precision used in tests,
and it's easier to read without scientific notation.

Also a few expected values were wrong so they were changed. The correct
expected values were confirmed by both LibreOffice 5 and wolframalpha.com.

Finally fixed an actual bug in code were a NaN value were returned instead of
the correct `#NUM!`.
2016-07-31 23:11:54 +09:00
Progi1984 36a9068b38 #401 : PHPUnit Fixes (Calculation > LookupRef) 2016-05-20 08:41:09 +02:00
Progi1984 98f7d4bf08 #401 : PHPUnit Fixes (Calculation > DateTime) 2016-05-19 08:49:09 +02:00
Progi1984 259ce457f3 #401 : PHPCS Fixes & Some PHPUnit Fixes 2016-05-18 13:37:00 +02:00
MarkBaker 0c177b5ea2 We modified another block of files to psr-2, and their jaws dropped when they saw what happened next 2015-05-20 19:17:17 +01:00
MarkBaker 71dba49fff Improvements to array arithmetic (MMULT)
Better setup of calculation function tests to ensure consistent environment
2015-01-23 23:44:32 +00:00
MarkBaker 976e7f064a Excel TRIM function only trims spaces, not tabs or other spacing characters 2015-01-23 16:49:20 +00:00
MarkBaker 280620a753 Implement Excel VALUE() function, locale-warts and all 2014-08-30 00:12:31 +01:00
Mark Baker a0859fd7d0 Fix to number format masking for scientific notation 2013-06-16 15:13:05 +01:00
Mark Baker 4d92e77d00 Eliminate need for use of money_format() function; various fixes to HLOOKUP, VLOOKUP and DOLLAR functions + unit tests 2013-06-15 12:15:03 +01:00
Mark Baker dfc74f8b95 Feature: (amerov) - Implementation of the Excel HLOOKUP() function 2013-06-14 23:57:50 +01:00
Mark Baker db75c5981a Fixes to Advanced Value Binder for cell restructuring 2013-02-21 11:29:32 +00:00
Mark Baker d8debd0966 Minor tweaks and bugfixes 2012-11-25 17:56:27 +00:00
Mark Baker b00f6d4c4c AutoFilter unit tests 2012-08-19 23:17:12 +01:00
Mark Baker 8f3dc270a6 Bugfix: Work Item 18415- mb_stripos empty delimiter 2012-07-27 22:06:28 +01:00
Mark Baker 59932b0cac Bugfix: Work item 18370 - Error loading xlsx file with column breaks
Deprecated the getCalculatedValue(), setCalculatedValue(), setFormulaAttributes() and getFormulaAttributes() methods in PHPExcel_Cell.
Documentation changes and unit tests.
2012-07-18 12:29:33 +01:00
Mark Baker 1535b4d9e7 Feature: Modified ERF and ERFC Engineering functions to accept Excel 2010's modified acceptance of negative arguments 2012-07-14 14:20:17 +01:00
Mark Baker 64fe139503 Additional unit tests
git-svn-id: https://phpexcel.svn.codeplex.com/svn/trunk@91576 2327b42d-5241-43d6-9e2a-de5ac946f064
2012-06-10 22:08:42 +00:00
Mark Baker 97a7f80f68 Unit test data
git-svn-id: https://phpexcel.svn.codeplex.com/svn/trunk@89038 2327b42d-5241-43d6-9e2a-de5ac946f064
2012-04-09 21:17:07 +00:00
Mark Baker 954208b56d Unit test data
git-svn-id: https://phpexcel.svn.codeplex.com/svn/trunk@89019 2327b42d-5241-43d6-9e2a-de5ac946f064
2012-04-09 11:26:35 +00:00
Mark Baker e4a859c5e3 Unit tests
git-svn-id: https://phpexcel.svn.codeplex.com/svn/trunk@88997 2327b42d-5241-43d6-9e2a-de5ac946f064
2012-04-08 20:40:50 +00:00
Mark Baker d481003b50 Unit tests
git-svn-id: https://phpexcel.svn.codeplex.com/svn/trunk@88960 2327b42d-5241-43d6-9e2a-de5ac946f064
2012-04-07 20:53:08 +00:00
Mark Baker a2560b45f7 Unit tests
git-svn-id: https://phpexcel.svn.codeplex.com/svn/trunk@88404 2327b42d-5241-43d6-9e2a-de5ac946f064
2012-03-25 22:27:51 +00:00
Mark Baker 30fb3fba20 Unit test data
git-svn-id: https://phpexcel.svn.codeplex.com/svn/trunk@88319 2327b42d-5241-43d6-9e2a-de5ac946f064
2012-03-24 23:11:14 +00:00
Mark Baker cbad0cbb14 Unit test data
git-svn-id: https://phpexcel.svn.codeplex.com/svn/trunk@88244 2327b42d-5241-43d6-9e2a-de5ac946f064
2012-03-23 18:04:58 +00:00
Mark Baker c1f957adbf Data files for Unit Tests
git-svn-id: https://phpexcel.svn.codeplex.com/svn/trunk@86200 2327b42d-5241-43d6-9e2a-de5ac946f064
2012-02-08 21:40:05 +00:00
Mark Baker 5da448bbad Data files for Unit Tests
git-svn-id: https://phpexcel.svn.codeplex.com/svn/trunk@85849 2327b42d-5241-43d6-9e2a-de5ac946f064
2012-01-29 14:23:06 +00:00
Mark Baker 3bbce88324 Data files for Unit Tests
git-svn-id: https://phpexcel.svn.codeplex.com/svn/trunk@85794 2327b42d-5241-43d6-9e2a-de5ac946f064
2012-01-26 22:40:02 +00:00
Mark Baker cbc1e24cb4 Data files for Unit Tests
git-svn-id: https://phpexcel.svn.codeplex.com/svn/trunk@85785 2327b42d-5241-43d6-9e2a-de5ac946f064
2012-01-26 20:08:27 +00:00
Mark Baker 897da40d97 Data files for Unit Tests
git-svn-id: https://phpexcel.svn.codeplex.com/svn/trunk@85752 2327b42d-5241-43d6-9e2a-de5ac946f064
2012-01-26 01:42:43 +00:00
Mark Baker f3ceef434c Data files for Unit Tests
git-svn-id: https://phpexcel.svn.codeplex.com/svn/trunk@85740 2327b42d-5241-43d6-9e2a-de5ac946f064
2012-01-25 22:04:53 +00:00
Mark Baker 7ac3ddd7f9 Data files for Unit Tests
git-svn-id: https://phpexcel.svn.codeplex.com/svn/trunk@85689 2327b42d-5241-43d6-9e2a-de5ac946f064
2012-01-23 23:40:50 +00:00
Mark Baker 34f3e8b706 Initial phpunit unit test scripts
git-svn-id: https://phpexcel.svn.codeplex.com/svn/trunk@85526 2327b42d-5241-43d6-9e2a-de5ac946f064
2012-01-19 22:32:58 +00:00