diff options
author | Matthias Held <ilovemilk@wusa.io> | 2019-05-19 21:38:59 +0300 |
---|---|---|
committer | Matthias Held <ilovemilk@wusa.io> | 2019-05-19 21:38:59 +0300 |
commit | 950b356fabe83fc7f49e772be56799a1ce6b6ace (patch) | |
tree | bdd806446d6514e737c0edd09fc4576b763698ff /tests | |
parent | 701b9819e09967c88d595b4be6652c8e829d0467 (diff) |
fix tests by fix naming of methods
Diffstat (limited to 'tests')
-rw-r--r-- | tests/Unit/Analyzer/EntropyAnalyzerTest.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/Unit/Analyzer/EntropyAnalyzerTest.php b/tests/Unit/Analyzer/EntropyAnalyzerTest.php index 0b1b207..b78c164 100644 --- a/tests/Unit/Analyzer/EntropyAnalyzerTest.php +++ b/tests/Unit/Analyzer/EntropyAnalyzerTest.php @@ -103,10 +103,10 @@ class EntropyAnalyzerTest extends TestCase $node->method('getContent') ->willReturn('test'); - $this->entropy->method('streamMean') + $this->entropy->method('calculateMeanOfSeries') ->willReturn(0.002); - $this->entropy->method('streamStandardDeviation') + $this->entropy->method('calculateStandardDeviationOfSeries') ->willReturn(0.004); $this->assertEquals($this->invokePrivate($entropyAnalyzer, 'calculateStandardDeviationOfEntropy', [$node, EntropyAnalyzer::BLOCK_SIZE]), 0.0); |