Skip to content

Commit dcf3654

Browse files
committed
Fix
1 parent c39b2e2 commit dcf3654

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
@@ -61,7 +61,7 @@ public void testYPartition() {
6161
int pivotIndex = cp.yPartition(points, 0, 4);
6262
assertEquals(1, pivotIndex); // After partition, pivot should be at index 1
6363
assertEquals(2.0, points[1].y);
64-
assertEquals(2.0, points[4].y);
64+
assertEquals(3.0, points[4].y);
6565
assertEquals(3.0, points[0].y);
6666
assertEquals(6.0, points[2].y);
6767
assertEquals(7.0, points[3].y);

0 commit comments

Comments
 (0)