From 3d534d9a303701fde3cf9c71d2df353c7a993a40 Mon Sep 17 00:00:00 2001 From: Fisher Coder Date: Wed, 13 Mar 2024 11:33:23 -0700 Subject: [PATCH] migrate 72 to junit5 --- src/test/java/com/fishercoder/_72Test.java | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/test/java/com/fishercoder/_72Test.java b/src/test/java/com/fishercoder/_72Test.java index ea21e8063..17776f7e1 100644 --- a/src/test/java/com/fishercoder/_72Test.java +++ b/src/test/java/com/fishercoder/_72Test.java @@ -1,18 +1,18 @@ package com.fishercoder; import com.fishercoder.solutions._72; -import org.junit.BeforeClass; -import org.junit.Test; +import org.junit.jupiter.api.BeforeEach; +import org.junit.jupiter.api.Test; -import static org.junit.Assert.assertEquals; +import static org.junit.jupiter.api.Assertions.assertEquals; public class _72Test { private static _72.Solution1 solution1; private static _72.Solution2 solution2; - @BeforeClass - public static void setup() { + @BeforeEach + public void setup() { solution1 = new _72.Solution1(); solution2 = new _72.Solution2(); }