8000 add test for 46 · zhahui/fishercoder1534-Leetcode@0a2c0dd · GitHub
[go: up one dir, main page]

Skip to content

Commit 0a2c0dd

Browse files
fishercoder1534zhahui
authored andcommitted
add test for 46
1 parent 916f28f commit 0a2c0dd

File tree

1 file changed

+20
-0
lines changed

1 file changed

+20
-0
lines changed
Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
package com.fishercoder;
2+
3+
import com.fishercoder.common.utils.CommonUtils;
4+
import com.fishercoder.solutions._46;
5+
import org.junit.BeforeClass;
6+
import org.junit.Test;
7+
8+
public class _46Test {
9+
private static _46.Solution1 solution1;
10+
11+
@BeforeClass
12+
public static void setup() {
13+
solution1 = new _46.Solution1();
14+
}
15+
16+
@Test
17+
public void test1() {
18+
CommonUtils.printListList(solution1.permute(new int[]{1, 2, 3}));
19+
}
20+
}

0 commit comments

Comments
 (0)
0