Skip to content

Commit 7d02660

Browse files
author
LUKMANul
committed
Style(test): Reorder imports in QuickSelectTest for lint compliance
Adjusted the import order in DeterministicQuickSelectTest.java, placing regular imports before static imports, to satisfy the project's formatting and linting rules.
1 parent 2920299 commit 7d02660

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/test/java/com/thealgorithms/divideandconquer/DeterministicQuickSelectTest.java

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,9 @@
11
package com.thealgorithms.divideandconquer;
22

3-
import static org.junit.jupiter.api.Assertions.assertEquals; // Explicitly importing assertEquals
4-
import static org.junit.jupiter.api.Assertions.assertThrows; // Explicitly importing assertThrows
5-
6-
import org.junit.jupiter.api.Test;
3+
import org.junit.jupiter.api.Test; // Regular imports come first
74

5+
import static org.junit.jupiter.api.Assertions.assertEquals;
6+
import static org.junit.jupiter.api.Assertions.assertThrows;
87

98
public final class DeterministicQuickSelectTest {
109

@@ -27,3 +26,4 @@ public void testInvalidInputs() {
2726
assertThrows(IllegalArgumentException.class, () -> QuickSelectMedianOfMedians.quickSelect(new int[] {}, 0));
2827
}
2928
}
29+

0 commit comments

Comments
 (0)