We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a842574 commit 2f38a39Copy full SHA for 2f38a39
src/test/java/com/fishercoder/_31Test.java
@@ -0,0 +1,23 @@
1
+package com.fishercoder;
2
+
3
+import com.fishercoder.common.utils.CommonUtils;
4
+import com.fishercoder.solutions._31;
5
+import org.junit.BeforeClass;
6
+import org.junit.Test;
7
8
+public class _31Test {
9
+ private static _31.Solution1 solution1;
10
+ private static int[] nums;
11
12
+ @BeforeClass
13
+ public static void setup() {
14
+ solution1 = new _31.Solution1();
15
+ }
16
17
+ @Test
18
+ public void test1() {
19
+ nums = new int[]{1, 2, 3};
20
+ solution1.nextPermutation(nums);
21
+ CommonUtils.printArray(nums);
22
23
+}
0 commit comments