Skip to content

Commit d031414

Browse files
authored
Update BucketSortHashBehaviorTest.java
1 parent a35f326 commit d031414

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/test/java/com/thealgorithms/sorts/BucketSortHashBehaviorTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ void sortStillCorrectWhenAllEqual() {
2323
assertArrayEquals(expected, arr);
2424

2525
// Observe bucket mapping (all collapse to index 0)
26-
Integer min = 1;
26+
Integer min = 1;
2727
Integer max = 1;
2828
int numberOfBuckets = Math.max(arr.length / 10, 1); // same as BUCKET_DIVISOR rule
2929
int idx = pseudoHash(1, min, max, numberOfBuckets);

0 commit comments

Comments
 (0)