Skip to content

Commit e8f3246

Browse files
committed
Fix
1 parent d47a8b2 commit e8f3246

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ void testSearcherRandomNumbers() throws InterruptedException {
6363
int size = 200;
6464
int[] array = new int[size];
6565
for (int i = 0; i < size; i++) {
66-
array[i] = (int) (Math.random() * 100); // Fill array with random integers
66+
array[i] = (int) (Math.random() * 100);
6767
}
6868
int target = array[(int) (Math.random() * size)]; // Randomly select a target that is present
6969
Searcher searcher = new Searcher(array, 0, size, target);

0 commit comments

Comments
 (0)