Skip to content

Commit df5525a

Browse files
committed
Fix
1 parent 38df2cc commit df5525a

File tree

1 file changed

+0
-12
lines changed

1 file changed

+0
-12
lines changed

src/test/java/com/thealgorithms/datastructures/heaps/MergeKSortedArraysTest.java

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -9,24 +9,12 @@
99

1010
public class MergeKSortedArraysTest {
1111

12-
/**
13-
* Parameterized test for merging multiple sorted arrays.
14-
* Each test case provides input arrays and the expected merged output.
15-
*
16-
* @param arrays the input 2D array of sorted arrays
17-
* @param expected the expected merged sorted array
18-
*/
1912
@ParameterizedTest
2013
@MethodSource("provideTestCases")
2114
public void testMergeKArrays(int[][] arrays, int[] expected) {
2215
assertArrayEquals(expected, MergeKSortedArrays.mergeKArrays(arrays));
2316
}
2417

25-
/**
26-
* Provides various test cases including edge cases for merging sorted arrays.
27-
*
28-
* @return a stream of test arguments containing input arrays and expected outputs
29-
*/
3018
private static Stream<Arguments> provideTestCases() {
3119
return Stream.of(
3220
// Basic test case with multiple arrays

0 commit comments

Comments
 (0)