Commit Graph

13 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
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 259ce457f3 #401 : PHPCS Fixes & Some PHPUnit Fixes 2016-05-18 13:37:00 +02: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 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 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