Browse Source

Round10 Function Test

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

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

@ -136,6 +136,17 @@ class TasksFrameTest {
int c = tasksFrame.roundSum(13, 9, 26);
assertEquals(50, c);
}
@Test
void test_round10(){
TasksFrame tasksFrame = new TasksFrame();
int a = tasksFrame.round10(15);
assertEquals(20, a);
int b = tasksFrame.round10(56);
assertEquals(60, b);
int c = tasksFrame.round10(12);
assertEquals(10, c);
}
}

Loading…
Cancel
Save