File tree 2 files changed +5
-6
lines changed
main/java/com/fishercoder/solutions/firstthousand
test/java/com/fishercoder/firstthousand
2 files changed +5
-6
lines changed Original file line number Diff line number Diff line change 7
7
import java .util .Arrays ;
8
8
9
9
public class _350 {
10
-
11
10
public static class Solution1 {
12
11
public int [] intersect (int [] nums1 , int [] nums2 ) {
13
12
Map <Integer , Integer > map = new HashMap ();
Original file line number Diff line number Diff line change 1
1
package com .fishercoder .firstthousand ;
2
2
3
3
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 ;
6
6
7
- import static org .junit .Assert .assertArrayEquals ;
7
+ import static org .junit .jupiter . api . Assertions .assertArrayEquals ;
8
8
9
9
public class _350Test {
10
10
private static _350 .Solution1 solution1 ;
11
11
private static _350 .Solution2 solution2 ;
12
12
13
- @ BeforeClass
14
- public static void setup () {
13
+ @ BeforeEach
14
+ public void setup () {
15
15
solution1 = new _350 .Solution1 ();
16
16
solution2 = new _350 .Solution2 ();
17
17
}
You can’t perform that action at this time.
0 commit comments