- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for testElapsed_micros (0.12 sec)
-
guava-tests/test/com/google/common/base/StopwatchTest.java
ticker.advance(25); assertEquals(34, stopwatch.elapsed(NANOSECONDS)); stopwatch.stop(); ticker.advance(36); assertEquals(34, stopwatch.elapsed(NANOSECONDS)); } public void testElapsed_micros() { stopwatch.start(); ticker.advance(999); assertEquals(0, stopwatch.elapsed(MICROSECONDS)); ticker.advance(1); assertEquals(1, stopwatch.elapsed(MICROSECONDS)); }
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Fri Feb 09 15:49:48 UTC 2024 - 5.8K bytes - Viewed (0)