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