diff --git a/tests/Phpml/Math/Statistic/MeanTest.php b/tests/Phpml/Math/Statistic/MeanTest.php new file mode 100644 index 0000000..2e57ade --- /dev/null +++ b/tests/Phpml/Math/Statistic/MeanTest.php @@ -0,0 +1,17 @@ +assertEquals(3.5, Mean::arithmetic([2, 5]), '', $delta); + $this->assertEquals(41.16, Mean::arithmetic([43, 21, 25, 42, 57, 59]), '', $delta); + } +}