Skip to content

Commit 2948e33

Browse files
committed
Fix
1 parent dcf3654 commit 2948e33

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

+1-1
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ public void testYPartition() {
6262
assertEquals(1, pivotIndex); // After partition, pivot should be at index 1
6363
assertEquals(2.0, points[1].y);
6464
assertEquals(3.0, points[4].y);
65-
assertEquals(3.0, points[0].y);
65+
assertEquals(1.0, points[0].y);
6666
assertEquals(6.0, points[2].y);
6767
assertEquals(7.0, points[3].y);
6868
}

0 commit comments

Comments
 (0)