Skip to content

Commit cdc1b85

Browse files
committed
Fix
1 parent 814653f commit cdc1b85

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/test/java/com/thealgorithms/searches/FibonacciSearchTest.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -117,8 +117,8 @@ void testFibonacciSearchNullKey() {
117117
void testFibonacciSearchLargeArray() {
118118
FibonacciSearch fibonacciSearch = new FibonacciSearch();
119119
Integer[] array = IntStream.range(0, 10000).boxed().toArray(Integer[] ::new); // Array from 0 to 9999
120-
int key = 9999; // Last element
121-
int expectedIndex = 9999; // Index of the last element
120+
int key = 9999;
121+
int expectedIndex = 9999;
122122
assertEquals(expectedIndex, fibonacciSearch.find(array, key), "The index of the last element should be 9999.");
123123
}
124124
}

0 commit comments

Comments
 (0)