Browse Source

Test ggT-Funktion

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

11
src/test/java/src/TasksFrameTest.java

@ -58,6 +58,17 @@ class TasksFrameTest {
int c = tasksFrame.ePhi(35);
assertEquals(24, c);
}
@Test
void test_ggt(){
TasksFrame tasksFrame = new TasksFrame();
int ggt1 = tasksFrame.ggt(4, 20);
assertEquals(4, ggt1);
int ggt2 = tasksFrame.ggt(205, 120);
assertEquals(5, ggt2);
int ggt3 = tasksFrame.ggt(262, 599);
assertEquals(1, ggt3);
}
}

Loading…
Cancel
Save