Skip to content
Permalink
Browse files
Round out test.
  • Loading branch information
Gary Gregory committed Aug 13, 2021
1 parent 2d82641 commit a274dd8fea87cf6e41f957354715b607a949830a
Showing 1 changed file with 2 additions and 0 deletions.
@@ -49,6 +49,7 @@ public void testInitialStateActiveDuration() throws InterruptedException {
assertThat(dpo.getActiveDuration().toMillis(), lessThanOrEqualTo(dpo.getActiveTimeMillis()));
assertThat(dpo.getActiveDuration(), lessThanOrEqualTo(dpo.getActiveTime()));
assertThat(dpo.getActiveDuration(), lessThanOrEqualTo(dpo.getIdleTime()));
assertThat(dpo.getActiveDuration().toMillis(), lessThanOrEqualTo(dpo.getIdleTimeMillis()));
}

@Test
@@ -63,6 +64,7 @@ public void testInitialStateIdleDuration() throws InterruptedException {
assertThat(dpo.getIdleDuration().toMillis(), lessThanOrEqualTo(dpo.getActiveTimeMillis()));
assertThat(dpo.getIdleDuration(), lessThanOrEqualTo(dpo.getActiveTime()));
assertThat(dpo.getIdleDuration(), lessThanOrEqualTo(dpo.getIdleTime()));
assertThat(dpo.getIdleDuration().toMillis(), lessThanOrEqualTo(dpo.getActiveTimeMillis()));
}

@Test

0 comments on commit a274dd8

Please sign in to comment.