mirror of
https://github.com/TheAlgorithms/PHP.git
synced 2025-01-29 13:07:32 +01:00
Update SearchesTest.php
This commit is contained in:
parent
921baa7328
commit
27ce6d2c95
@ -136,14 +136,6 @@ class SearchesTest extends TestCase
|
||||
assertEquals(5, $result);
|
||||
}
|
||||
|
||||
public function testUpperBound()
|
||||
{
|
||||
$list = [1, 2, 3, 3, 3, 4, 5, 9];
|
||||
$target = 3;
|
||||
$result = upperBound($list, $target);
|
||||
assertEquals(5, $result);
|
||||
}
|
||||
|
||||
public function testJumpSearch()
|
||||
{
|
||||
$list = array( 3,5,6,7,9,10,12,20,22,24);
|
||||
|
Loading…
x
Reference in New Issue
Block a user