|
@ -58,6 +58,17 @@ class TasksFrameTest { |
|
|
int c = tasksFrame.ePhi(35); |
|
|
int c = tasksFrame.ePhi(35); |
|
|
assertEquals(24, c); |
|
|
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); |
|
|
|
|
|
} |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|