File tree Expand file tree Collapse file tree 2 files changed +5
-6
lines changed
main/java/com/fishercoder/solutions/firstthousand
test/java/com/fishercoder/firstthousand Expand file tree Collapse file tree 2 files changed +5
-6
lines changed Original file line number Diff line number Diff line change 77import java .util .Arrays ;
88
99public class _350 {
10-
1110 public static class Solution1 {
1211 public int [] intersect (int [] nums1 , int [] nums2 ) {
1312 Map <Integer , Integer > map = new HashMap ();
Original file line number Diff line number Diff line change 11package com .fishercoder .firstthousand ;
22
33import 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
99public 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 }
You can’t perform that action at this time.
0 commit comments