We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4410dca commit b3d7f8dCopy full SHA for b3d7f8d
src/test/java/com/fishercoder/firstthousand/_796Test.java
@@ -1,6 +1,7 @@
1
package com.fishercoder.firstthousand;
2
3
-import static org.junit.jupiter.api.Assertions.assertEquals;
+import static org.junit.jupiter.api.Assertions.assertFalse;
4
+import static org.junit.jupiter.api.Assertions.assertTrue;
5
6
import com.fishercoder.solutions.firstthousand._796;
7
import org.junit.jupiter.api.BeforeEach;
@@ -16,11 +17,11 @@ public void setUp() {
16
17
18
@Test
19
public void test1() {
- assertEquals(true, solution1.rotateString("abcde", "cdeab"));
20
+ assertTrue(solution1.rotateString("abcde", "cdeab"));
21
}
22
23
24
public void test2() {
- assertEquals(false, solution1.rotateString("abcde", "abced"));
25
+ assertFalse(solution1.rotateString("abcde", "abced"));
26
27
0 commit comments