diff options
Diffstat (limited to 'tests/Unit')
-rw-r--r-- | tests/Unit/Entropy/EntropyTest.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/Unit/Entropy/EntropyTest.php b/tests/Unit/Entropy/EntropyTest.php index 84cd37a..f4f87ce 100644 --- a/tests/Unit/Entropy/EntropyTest.php +++ b/tests/Unit/Entropy/EntropyTest.php @@ -83,8 +83,8 @@ class EntropyTest extends TestCase $standardDeviation = 0.0; foreach($data as $key => $value) { $sum = $sum + pow($value, 2); - $mean = $this->invokePrivate($this->entropy, 'streamMean', [$mean, $value, $key + 1]); - $standardDeviation = $this->invokePrivate($this->entropy, 'streamStandardDeviation', [$key + 1, $sum, $mean]); + $mean = $this->invokePrivate($this->entropy, 'calculateMeanOfSeries', [$mean, $value, $key + 1]); + $standardDeviation = $this->invokePrivate($this->entropy, 'calculateStandardDeviationOfSeries', [$key + 1, $sum, $mean]); } $this->assertEquals(number_format($standardDeviation, 6), $sd); } |