File tree 2 files changed +28
-2
lines changed
main/java/com/fishercoder/solutions
test/java/com/fishercoder
2 files changed +28
-2
lines changed Original file line number Diff line number Diff line change 1
1
package com .fishercoder .solutions ;
2
2
3
- import com .fishercoder .common .utils .CommonUtils ;
4
-
5
3
import java .util .ArrayList ;
6
4
import java .util .List ;
7
5
Original file line number Diff line number Diff line change
1
+ package com .fishercoder ;
2
+
3
+ import com .fishercoder .common .utils .CommonUtils ;
4
+ import com .fishercoder .solutions ._22 ;
5
+ import org .junit .BeforeClass ;
6
+ import org .junit .Test ;
7
+
8
+ public class _22Test {
9
+ private static _22 .Solution1 solution1 ;
10
+ private static _22 .Solution2 solution2 ;
11
+
12
+ @ BeforeClass
13
+ public static void setup () {
14
+ solution1 = new _22 .Solution1 ();
15
+ solution2 = new _22 .Solution2 ();
16
+ }
17
+
18
+ @ Test
19
+ public void test1 () {
20
+ CommonUtils .printList (solution1 .generateParenthesis (3 ));
21
+ }
22
+
23
+ @ Test
24
+ public void test2 () {
25
+ CommonUtils .printList (solution2 .generateParenthesis (3 ));
26
+ }
27
+
28
+ }
You can’t perform that action at this time.
0 commit comments