8000 add test for 38 · zhahui/fishercoder1534-Leetcode@916f28f · GitHub
[go: up one dir, main page]

Skip to content

Commit 916f28f

Browse files
fishercoder1534zhahui
authored andcommitted
add test for 38
1 parent 465944d commit 916f28f

File tree

1 file changed

+21
-0
lines changed

1 file changed

+21
-0
lines changed
Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
package com.fishercoder;
2+
3+
import com.fishercoder.solutions._38;
4+
import org.junit.BeforeClass;
5+
import org.junit.Test;
6+
7+
import static org.junit.Assert.assertEquals;
8+
9+
public class _38Test {
10+
private static _38.Solution1 solution1;
11+
12+
@BeforeClass
13+
public static void setup() {
14+
solution1 = new _38.Solution1();
15+
}
16+
17+
@Test
18+
public void test1() {
19+
assertEquals("21", solution1.countAndSay(3));
20+
}
21+
}

0 commit comments

Comments
 (0)
0