We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see ourdocumentation.
There was an error while loading.Please reload this page.
1 parent4410dca commitb3d7f8dCopy full SHA for b3d7f8d
src/test/java/com/fishercoder/firstthousand/_796Test.java
@@ -1,6 +1,7 @@
1
packagecom.fishercoder.firstthousand;
2
3
-importstaticorg.junit.jupiter.api.Assertions.assertEquals;
+importstaticorg.junit.jupiter.api.Assertions.assertFalse;
4
+importstaticorg.junit.jupiter.api.Assertions.assertTrue;
5
6
importcom.fishercoder.solutions.firstthousand._796;
7
importorg.junit.jupiter.api.BeforeEach;
@@ -16,11 +17,11 @@ public void setUp() {
16
17
18
@Test
19
publicvoidtest1() {
-assertEquals(true,solution1.rotateString("abcde","cdeab"));
20
+assertTrue(solution1.rotateString("abcde","cdeab"));
21
}
22
23
24
publicvoidtest2() {
-assertEquals(false,solution1.rotateString("abcde","abced"));
25
+assertFalse(solution1.rotateString("abcde","abced"));
26
27