From 18abae7245041cda6189d88b75f0bd45178d8f9b Mon Sep 17 00:00:00 2001 From: Mark Baker Date: Sun, 31 Jan 2021 16:42:17 +0100 Subject: [PATCH] Additional statistical unit tests (#1818) --- .../Statistical/NegBinomDistTest.php | 31 ++++++++++++++++ .../Functions/Statistical/PoissonTest.php | 31 ++++++++++++++++ tests/data/Calculation/MathTrig/FLOOR.php | 5 +++ tests/data/Calculation/MathTrig/FLOORMATH.php | 5 +++ .../Calculation/MathTrig/FLOORPRECISE.php | 5 +++ .../Calculation/Statistical/NEGBINOMDIST.php | 36 +++++++++++++++++++ tests/data/Calculation/Statistical/PERMUT.php | 8 +++++ .../data/Calculation/Statistical/POISSON.php | 28 +++++++++++++++ 8 files changed, 149 insertions(+) create mode 100644 tests/PhpSpreadsheetTests/Calculation/Functions/Statistical/NegBinomDistTest.php create mode 100644 tests/PhpSpreadsheetTests/Calculation/Functions/Statistical/PoissonTest.php create mode 100644 tests/data/Calculation/Statistical/NEGBINOMDIST.php create mode 100644 tests/data/Calculation/Statistical/POISSON.php diff --git a/tests/PhpSpreadsheetTests/Calculation/Functions/Statistical/NegBinomDistTest.php b/tests/PhpSpreadsheetTests/Calculation/Functions/Statistical/NegBinomDistTest.php new file mode 100644 index 0000000000..9c082da775 --- /dev/null +++ b/tests/PhpSpreadsheetTests/Calculation/Functions/Statistical/NegBinomDistTest.php @@ -0,0 +1,31 @@ +