Browse Source

Test Quersumme

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

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

@ -103,6 +103,17 @@ class TasksFrameTest {
assertEquals(1,p3); assertEquals(1,p3);
} }
@Test
void test_quer(){
TasksFrame tasksFrame = new TasksFrame();
int q = tasksFrame.quer(15);
assertEquals(6, q);
int q2 = tasksFrame.quer(23);
assertEquals(5, q2);
int q3 = tasksFrame.quer(235);
assertEquals(10, q3);
}
} }

Loading…
Cancel
Save