Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for testLongValue (0.06 sec)

  1. guava-tests/test/com/google/common/util/concurrent/AtomicDoubleTest.java

        assertEquals(0, at.intValue());
        for (double x : VALUES) {
          at.set(x);
          assertEquals((int) x, at.intValue());
        }
      }
    
      /** longValue returns current value. */
      public void testLongValue() {
        AtomicDouble at = new AtomicDouble();
        assertEquals(0L, at.longValue());
        for (double x : VALUES) {
          at.set(x);
          assertEquals((long) x, at.longValue());
        }
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 17 02:42:09 UTC 2024
    - 10.3K bytes
    - Viewed (0)
Back to top