File tree Expand file tree Collapse file tree 1 file changed +5
-4
lines changed
src/test/java/com/thealgorithms/strings Expand file tree Collapse file tree 1 file changed +5
-4
lines changed Original file line number Diff line number Diff line change 11package com .thealgorithms .strings ;
22
33import static org .junit .jupiter .api .Assertions .assertEquals ;
4+ import static org .junit .jupiter .api .Assertions .assertTrue ;
45
56import java .util .stream .Stream ;
67import org .junit .jupiter .api .Test ;
@@ -72,21 +73,21 @@ void testIsogramByLength(IsogramTestCase testCase) {
7273
7374 @ Test
7475 void testNullInputByArray () {
75- assertEquals ( true , Isogram .isIsogramByArray (null ));
76+ assertTrue ( Isogram .isIsogramByArray (null ));
7677 }
7778
7879 @ Test
7980 void testNullInputByLength () {
80- assertEquals ( true , Isogram .isIsogramByLength (null ));
81+ assertTrue ( Isogram .isIsogramByLength (null ));
8182 }
8283
8384 @ Test
8485 void testEmptyStringByArray () {
85- assertEquals ( true , Isogram .isIsogramByArray ("" ));
86+ assertTrue ( Isogram .isIsogramByArray ("" ));
8687 }
8788
8889 @ Test
8990 void testEmptyStringByLength () {
90- assertEquals ( true , Isogram .isIsogramByLength ("" ));
91+ assertTrue ( Isogram .isIsogramByLength ("" ));
9192 }
9293}
You can’t perform that action at this time.
0 commit comments