Skip to content

Commit e5bddf9

Browse files
committed
replaced boolean literals with Boolean.TRUE/FALSE in IsomorphicTest
1 parent f2d1f56 commit e5bddf9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/test/java/com/thealgorithms/strings/IsomorphicTest.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,11 +11,11 @@ public final class IsomorphicTest {
1111

1212
@ParameterizedTest
1313
@MethodSource("isomorphicProvider")
14-
public void testCheckStrings(String str1, String str2, boolean expected) {
14+
public void testCheckStrings(String str1, String str2, Boolean expected) {
1515
assertEquals(expected, Isomorphic.checkStrings(str1, str2));
1616
}
1717

1818
private static Stream<Arguments> isomorphicProvider() {
19-
return Stream.of(Arguments.of("abbbbaac", "kffffkkd", true), Arguments.of("xyxyxy", "bnbnbn", true), Arguments.of("ghjknnmm", "wertpopo", false), Arguments.of("aaammmnnn", "ggghhhbbj", false));
19+
return Stream.of(Arguments.of("abbbbaac", "kffffkkd", Boolean.TRUE), Arguments.of("xyxyxy", "bnbnbn", Boolean.TRUE), Arguments.of("ghjknnmm", "wertpopo", Boolean.FALSE), Arguments.of("aaammmnnn", "ggghhhbbj", Boolean.FALSE));
2020
}
2121
}

0 commit comments

Comments
 (0)