Browse Source

Test "Potenzrechner"

remotes/origin/develop
fdai6040 2 years ago
parent
commit
1006cb7968
  1. 11
      src/test/java/src/TasksFrameTest.java

11
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);
}
}

Loading…
Cancel
Save