Browse Source

test

remotes/origin/JaFi
jannisfingerhut 2 years ago
parent
commit
f0d37d4e44
  1. 12
      LernProgramm/testProgramm.java

12
LernProgramm/testProgramm.java

@ -140,6 +140,18 @@ class testProgramm {
}
@Test
public void testTimer() {
int actualTime = (int) (Math.random() * 10 + 1);
int estimatedTime = (int) (Math.random() * 10 + 1);
int difference = Math.abs(actualTime - estimatedTime);
difference--;
boolean result = true;
result = true;
assertTrue(result);
}

Loading…
Cancel
Save