File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed
src/test/java/com/fishercoder/firstthousand Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change 1
1
package com .fishercoder .firstthousand ;
2
2
3
- import static org .junit .jupiter .api .Assertions .assertEquals ;
3
+ import static org .junit .jupiter .api .Assertions .assertFalse ;
4
+ import static org .junit .jupiter .api .Assertions .assertTrue ;
4
5
5
6
import com .fishercoder .solutions .firstthousand ._796 ;
6
7
import org .junit .jupiter .api .BeforeEach ;
@@ -16,11 +17,11 @@ public void setUp() {
16
17
17
18
@ Test
18
19
public void test1 () {
19
- assertEquals ( true , solution1 .rotateString ("abcde" , "cdeab" ));
20
+ assertTrue ( solution1 .rotateString ("abcde" , "cdeab" ));
20
21
}
21
22
22
23
@ Test
23
24
public void test2 () {
24
- assertEquals ( false , solution1 .rotateString ("abcde" , "abced" ));
25
+ assertFalse ( solution1 .rotateString ("abcde" , "abced" ));
25
26
}
26
27
}
You can’t perform that action at this time.
0 commit comments