diff --git a/src/test/java/src/TasksFrameTest.java b/src/test/java/src/TasksFrameTest.java index 26872fc..e1b47cc 100644 --- a/src/test/java/src/TasksFrameTest.java +++ b/src/test/java/src/TasksFrameTest.java @@ -169,6 +169,17 @@ class TasksFrameTest { double c = tasksFrame.bmi(1.24, 30); assertEquals(19.51, c); } + + @Test + void test_expo(){ + TasksFrame tasksFrame = new TasksFrame(); + double a = tasksFrame.expo(2, 3); + assertEquals(8, a); + double b = tasksFrame.expo(15, 3); + assertEquals(3375, b); + double c = tasksFrame.expo(10, 0); + assertEquals(1, c); + } }