Commit Graph

25 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
36a9068b38 #401 : PHPUnit Fixes (Calculation > LookupRef) 2016-05-20 08:41:09 +02:00
Progi1984
248bdbf841 #401 : PHPUnit Fixes (Calculation > Engineering) 2016-05-19 12:31:40 +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
Progi1984
dffeb25a5f #401 : PHPCS Fixes 2016-05-18 09:02:39 +02:00
Progi1984
05643d16d5 #401 : PHPCS (Calculation\MathTrig & Logical) 2016-05-14 18:22:59 +02:00
Progi1984
12590bbf1e #401 : PHPCS (Calculation\Functions) 2016-05-14 10:29:38 +02:00
Progi1984
2fed2de62d #401 : Fix for PHPCS 2016-05-13 22:06:18 +02:00
Progi1984
727ab1ef34 #401 : Support for namespaces 2016-03-22 22:40:11 +01:00
Progi1984
04cceaae2b #401 : Support for namespaces (Fix PHPUnit) 2016-03-22 22:26:17 +01:00
Progi1984
c5b352169c #401 : Support for namespaces 2016-03-22 22:20:22 +01:00
Progi1984
95e6c5e264 #401 : Support for namespaces 2016-03-22 15:35:50 +01:00
Progi1984
73ac0aee35 Fix some errors with samples 2016-03-22 15:19:00 +01:00
MarkBaker
d7ef6810a4 Improved masking for number format handling, particularly for datetime masks 2015-08-01 00:39:10 +01:00
MarkBaker
54d2f72a0a More namespacing work 2015-05-30 12:25:17 +01:00
MarkBaker
0dafaea059 Work on rewriting unit tests for the new folder structure (calling bootstrap) and json input files 2015-05-29 21:35:35 +01:00
MarkBaker
93d16b886f Start changing some unit tests to use a json provider rather than the current excessively complex csv provider 2015-05-28 23:15:46 +01:00
MarkBaker
53584ec9a3 Unit tests for Cell classes, modification to use json-format in raw data provider 2015-05-28 08:29:44 +01:00
MarkBaker
85118eb030 Changes to folder structures to bring PHPExcel in line with other PHPOffice projects
Additional namespacing work on PHPExcel core
2015-05-26 21:21:05 +01:00
MarkBaker
538fe93105 More namespacing work and soem initial rework for unit tests to handle new folder structure 2015-05-26 09:37:07 +01:00