Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Fixed linter errors in test fike
  • Loading branch information
Th-Shivam committed Oct 6, 2025
commit 86890f709d6ccc8a7e846ec6ef34b34338211565
Original file line number Diff line number Diff line change
Expand Up @@ -203,9 +203,9 @@ void testSentinelLinearSearchArrayIntegrity() {
Integer[] array = {1, 2, 3, 4, 5};
Integer[] originalArray = array.clone(); // Keep a copy of the original
Integer key = 3; // Element to find

sentinelLinearSearch.find(array, key);

// Verify array is unchanged
for (int i = 0; i < array.length; i++) {
assertEquals(originalArray[i], array[i], "Array should remain unchanged after search.");
Expand Down
Loading