import org.junit.jupiter.api.Test;

import static org.junit.jupiter.api.Assertions.*;

class MathUtilsTest {

    @Test
    void testAdd() {
        MathUtils math = new MathUtils();
        assertEquals(5, math.add(3,2), "The add method should add two numbers");
    }

    @Test
    void testDivide(){
        MathUtils math = new MathUtils();
        assertEquals(3,math.divide(6,2), "Divide method should divide two numbers");
        assertThrows(ArithmeticException.class, () -> math.divide(1,0), "Divide by zero should throw");
    }

    @Test
    void testComputeArea() {
        MathUtils math = new MathUtils();
        assertEquals(78,math.computeArea(5),"Compute area method should return circle area");
    }
}
@@ -1,12 +1,53 @@
+import org.junit.jupiter.api.BeforeEach;%0A
 import org.j
@@ -143,26 +143,57 @@
 sTest %7B%0A
-%0A    @Test
+    MathUtils mathUtils;%0A%0A    @BeforeEach
 %0A    voi
@@ -198,18 +198,14 @@
 oid 
-testAdd
+init
 ()
- 
 %7B%0A  
@@ -202,33 +202,33 @@
 init()%7B%0A        
-M
+m
 athUtils math = 
@@ -212,37 +212,32 @@
       mathUtils 
-math 
 = new MathUtils(
@@ -231,32 +231,70 @@
 ew MathUtils();%0A
+    %7D%0A%0A    @Test%0A    void testAdd() %7B%0A
         assertEq
@@ -305,16 +305,21 @@
 (5, math
+Utils
 .add(3,2
@@ -407,50 +407,8 @@
 ()%7B%0A
-        MathUtils math = new MathUtils();%0A
     
@@ -426,24 +426,29 @@
 quals(3,math
+Utils
 .divide(6,2)
@@ -551,16 +551,21 @@
  -%3E math
+Utils
 .divide(
@@ -652,50 +652,8 @@
 ) %7B%0A
-        MathUtils math = new MathUtils();%0A
     
@@ -676,16 +676,21 @@
 (78,math
+Utils
 .compute

Refactor test to use BeforeEach to initialize