Skip to content

Commit fca84ed

Browse files
committed
testing: change List to more common Iterable
1 parent 58b27f8 commit fca84ed

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/test/java/com/thealgorithms/recursion/GenerateSubsetsTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ void testEmptyInput() {
3333
assertSubsets("", List.of(""));
3434
}
3535

36-
private void assertSubsets(String input, List<String> expected) {
36+
private void assertSubsets(String input, Iterable<String> expected) {
3737
List<String> actual = GenerateSubsets.subsetRecursion(input);
3838
assertIterableEquals(expected, actual, "Subsets do not match for input: " + input);
3939
}

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy