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 27a631d commit 6909ef1Copy full SHA for 6909ef1
src/test/java/com/fishercoder/_123Test.java
@@ -7,18 +7,17 @@
7
import static junit.framework.Assert.assertEquals;
8
9
public class _123Test {
10
- private static _123.Solution1 solution1;
11
- private static int[] prices;
+ private static _123.Solution1 solution1;
+ private static int[] prices;
12
13
- @BeforeClass
14
- public static void setup() {
15
- solution1 = new _123.Solution1();
16
- }
+ @BeforeClass
+ public static void setup() {
+ solution1 = new _123.Solution1();
+ }
17
18
- @Test
19
- public void test1() {
20
- prices = new int[]{1};
21
- assertEquals(0, solution1.maxProfit(prices));
22
23
-
24
-}
+ @Test
+ public void test1() {
+ prices = new int[] {1};
+ assertEquals(0, solution1.maxProfit(prices));
+}
0 commit comments