Skip to content

Commit b3d7f8d

Browse files
[LEET-796] update 796
1 parent 4410dca commit b3d7f8d

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

src/test/java/com/fishercoder/firstthousand/_796Test.java

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
package com.fishercoder.firstthousand;
22

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;
45

56
import com.fishercoder.solutions.firstthousand._796;
67
import org.junit.jupiter.api.BeforeEach;
@@ -16,11 +17,11 @@ public void setUp() {
1617

1718
@Test
1819
public void test1() {
19-
assertEquals(true, solution1.rotateString("abcde", "cdeab"));
20+
assertTrue(solution1.rotateString("abcde", "cdeab"));
2021
}
2122

2223
@Test
2324
public void test2() {
24-
assertEquals(false, solution1.rotateString("abcde", "abced"));
25+
assertFalse(solution1.rotateString("abcde", "abced"));
2526
}
2627
}

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy