Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for 0000 (0.13 sec)

  1. android/guava-tests/test/com/google/common/base/StopwatchTest.java

      }
    
      @J2ktIncompatible // TODO(b/259213718): Switch J2kt to String.format("%.4g") once that's supported
      public void testToString() {
        stopwatch.start();
        assertEquals("0.000 ns", stopwatch.toString());
        ticker.advance(1);
        assertEquals("1.000 ns", stopwatch.toString());
        ticker.advance(998);
        assertEquals("999.0 ns", stopwatch.toString());
        ticker.advance(1);
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Fri Feb 09 15:49:48 GMT 2024
    - 5.8K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/base/StopwatchTest.java

      }
    
      @J2ktIncompatible // TODO(b/259213718): Switch J2kt to String.format("%.4g") once that's supported
      public void testToString() {
        stopwatch.start();
        assertEquals("0.000 ns", stopwatch.toString());
        ticker.advance(1);
        assertEquals("1.000 ns", stopwatch.toString());
        ticker.advance(998);
        assertEquals("999.0 ns", stopwatch.toString());
        ticker.advance(1);
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Fri Feb 09 15:49:48 GMT 2024
    - 5.8K bytes
    - Viewed (0)
Back to top