Skip to content

Commit 5f413c1

Browse files
update 350
1 parent d52ce98 commit 5f413c1

File tree

2 files changed

+5
-6
lines changed
  • src
    • main/java/com/fishercoder/solutions/firstthousand
    • test/java/com/fishercoder/firstthousand

2 files changed

+5
-6
lines changed

Diff for: src/main/java/com/fishercoder/solutions/firstthousand/_350.java

-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@
77
import java.util.Arrays;
88

99
public class _350 {
10-
1110
public static class Solution1 {
1211
public int[] intersect(int[] nums1, int[] nums2) {
1312
Map<Integer, Integer> map = new HashMap();

Diff for: src/test/java/com/fishercoder/firstthousand/_350Test.java

+5-5
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,17 @@
11
package com.fishercoder.firstthousand;
22

33
import com.fishercoder.solutions.firstthousand._350;
4-
import org.junit.BeforeClass;
5-
import org.junit.Test;
4+
import org.junit.jupiter.api.BeforeEach;
5+
import org.junit.jupiter.api.Test;
66

7-
import static org.junit.Assert.assertArrayEquals;
7+
import static org.junit.jupiter.api.Assertions.assertArrayEquals;
88

99
public class _350Test {
1010
private static _350.Solution1 solution1;
1111
private static _350.Solution2 solution2;
1212

13-
@BeforeClass
14-
public static void setup() {
13+
@BeforeEach
14+
public void setup() {
1515
solution1 = new _350.Solution1();
1616
solution2 = new _350.Solution2();
1717
}

0 commit comments

Comments
 (0)