Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit f557f7b

Browse files
[LEET-3502] fix unit test
1 parent 6adfdf0 commit f557f7b

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed
Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
package com.fishercoder.fourththousand;
22

3+
import static org.junit.jupiter.api.Assertions.assertArrayEquals;
4+
35
import com.fishercoder.solutions.fourththousand._3502;
46
import org.junit.jupiter.api.BeforeEach;
57
import org.junit.jupiter.api.Test;
68

7-
import static org.junit.jupiter.api.Assertions.assertArrayEquals;
8-
99
public class _3502Test {
1010
private _3502.Solution1 solution1;
1111

@@ -16,7 +16,7 @@ public void setup() {
1616

1717
@Test
1818
public void test1() {
19-
assertArrayEquals(new int[]{5, 3, 3, 1, 1, 1}, solution1.minCosts(new int[]{5, 3, 4, 1, 3, 2}));
19+
assertArrayEquals(
20+
new int[] {5, 3, 3, 1, 1, 1}, solution1.minCosts(new int[] {5, 3, 4, 1, 3, 2}));
2021
}
21-
2222
}

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /