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:
authorMatthias Held <ilovemilk@wusa.io>2019-05-19 21:38:59 +0300
committerMatthias Held <ilovemilk@wusa.io>2019-05-19 21:38:59 +0300
commit950b356fabe83fc7f49e772be56799a1ce6b6ace (patch)
treebdd806446d6514e737c0edd09fc4576b763698ff /tests
parent701b9819e09967c88d595b4be6652c8e829d0467 (diff)
fix tests by fix naming of methods
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);