From 950b356fabe83fc7f49e772be56799a1ce6b6ace Mon Sep 17 00:00:00 2001 From: Matthias Held Date: Sun, 19 May 2019 20:38:59 +0200 Subject: fix tests by fix naming of methods --- tests/Unit/Analyzer/EntropyAnalyzerTest.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'tests/Unit') 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); -- cgit v1.2.3