File tree 1 file changed +5
-5
lines changed
src/test/java/com/fishercoder
1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change 3
3
import com .fishercoder .common .classes .TreeNode ;
4
4
import com .fishercoder .common .utils .TreeUtils ;
5
5
import com .fishercoder .solutions ._270 ;
6
- import org .junit .BeforeClass ;
7
- import org .junit .Test ;
6
+ import org .junit .jupiter . api . BeforeEach ;
7
+ import org .junit .jupiter . api . Test ;
8
8
9
9
import java .util .Arrays ;
10
10
11
- import static junit .framework . Assert .assertEquals ;
11
+ import static org . junit .jupiter . api . Assertions .assertEquals ;
12
12
13
13
public class _270Test {
14
14
private static _270 .Solution1 solution1 ;
15
15
private static int expected ;
16
16
private static TreeNode root ;
17
17
private static double target ;
18
18
19
- @ BeforeClass
20
- public static void setup () {
19
+ @ BeforeEach
20
+ public void setup () {
21
21
solution1 = new _270 .Solution1 ();
22
22
}
23
23
You can’t perform that action at this time.
0 commit comments