Skip to content

Commit 6909ef1

Browse files
refactor 123
1 parent 27a631d commit 6909ef1

File tree

1 file changed

+12
-13
lines changed

1 file changed

+12
-13
lines changed

src/test/java/com/fishercoder/_123Test.java

Lines changed: 12 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -7,18 +7,17 @@
77
import static junit.framework.Assert.assertEquals;
88

99
public class _123Test {
10-
private static _123.Solution1 solution1;
11-
private static int[] prices;
10+
private static _123.Solution1 solution1;
11+
private static int[] prices;
1212

13-
@BeforeClass
14-
public static void setup() {
15-
solution1 = new _123.Solution1();
16-
}
13+
@BeforeClass
14+
public static void setup() {
15+
solution1 = new _123.Solution1();
16+
}
1717

18-
@Test
19-
public void test1() {
20-
prices = new int[]{1};
21-
assertEquals(0, solution1.maxProfit(prices));
22-
}
23-
24-
}
18+
@Test
19+
public void test1() {
20+
prices = new int[] {1};
21+
assertEquals(0, solution1.maxProfit(prices));
22+
}
23+
}

0 commit comments

Comments
 (0)