diff options
author | Matthias <ilovemilk@wusa.io> | 2019-05-17 17:50:31 +0300 |
---|---|---|
committer | Matthias <ilovemilk@wusa.io> | 2019-05-17 17:50:31 +0300 |
commit | fb1aa4c89f889a47d446ba3f12f19658be5f9cf3 (patch) | |
tree | 699063397c4cb1c28c0a9c1b79f771d42763870d /tests/Unit | |
parent | 7fa86f1d601a931852fd888bb3b73e2fd7c68426 (diff) |
fix return value type to double
Diffstat (limited to 'tests/Unit')
-rw-r--r-- | tests/Unit/Analyzer/EntropyAnalyzerTest.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/Unit/Analyzer/EntropyAnalyzerTest.php b/tests/Unit/Analyzer/EntropyAnalyzerTest.php index 479c58b..0b1b207 100644 --- a/tests/Unit/Analyzer/EntropyAnalyzerTest.php +++ b/tests/Unit/Analyzer/EntropyAnalyzerTest.php @@ -109,7 +109,7 @@ class EntropyAnalyzerTest extends TestCase $this->entropy->method('streamStandardDeviation') ->willReturn(0.004); - $this->assertEquals($this->invokePrivate($entropyAnalyzer, 'calculateStandardDeviationOfEntropy', [$node, EntropyAnalyzer::BLOCK_SIZE]), 0.004); + $this->assertEquals($this->invokePrivate($entropyAnalyzer, 'calculateStandardDeviationOfEntropy', [$node, EntropyAnalyzer::BLOCK_SIZE]), 0.0); } public function testCalculateEntropyOfFile() |