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
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/Unit/Analyzer/EntropyAnalyzerTest.php4
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);