We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ebf719b commit 8809cbdCopy full SHA for 8809cbd
tests/BinarySearchTest.php
@@ -78,7 +78,7 @@ public function testBinarySearchLoopNormalArray(): void
78
$this->assertSame(98589, $search->getFoundValue());
79
}
80
81
- public function testBinarysearchNotFoundData(): void
+ public function testBinarySearchNotFoundData(): void
82
{
83
$array = [];
84
@@ -95,8 +95,10 @@ public function testBinarysearchNotFoundData(): void
95
->search();
96
97
$foundIndex = $search->getFoundIndex();
98
+ $foundValue = $search->getFoundValue();
99
100
$this->assertFalse($foundIndex);
101
+ $this->assertNull($foundValue);
102
103
104
public function testBinarySearchLoopArraysInArray(): void
0 commit comments