Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/undo-ransomware/ransomware_detection.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthias <ilovemilk@wusa.io>2019-05-17 17:50:31 +0300
committerMatthias <ilovemilk@wusa.io>2019-05-17 17:50:31 +0300
commitfb1aa4c89f889a47d446ba3f12f19658be5f9cf3 (patch)
tree699063397c4cb1c28c0a9c1b79f771d42763870d /tests/Unit
parent7fa86f1d601a931852fd888bb3b73e2fd7c68426 (diff)
fix return value type to double
Diffstat (limited to 'tests/Unit')
-rw-r--r--tests/Unit/Analyzer/EntropyAnalyzerTest.php2
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()