blob: ef338d35eb3a09ef028dc9d70df96fe9dae499a7 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
// Copyright Yahoo. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
package com.yahoo.vespa.clustercontroller.utils.util;
import org.junit.Test;
import static org.junit.Assert.assertTrue;
public class ClockTest {
@Test
public void testNothingButGetCoverage() {
long s = new Clock().getTimeInSecs();
long ms = new Clock().getTimeInMillis();
assertTrue(ms >= 1000 * s);
}
}
|