Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 2 of 2 for testDoubleValue (0.05 seconds)

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

        for (double x : VALUES) {
          at.set(x);
          assertEquals((float) x, at.floatValue());
        }
      }
    
      /** doubleValue returns current value. */
      public void testDoubleValue() {
        AtomicDouble at = new AtomicDouble();
        assertThat(at.doubleValue()).isEqualTo(0.0d);
        for (double x : VALUES) {
          at.set(x);
          assertBitEquals(x, at.doubleValue());
        }
      }
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Mar 13 13:01:07 GMT 2026
    - 7.3K bytes
    - Click Count (0)
  2. guava-tests/test/com/google/common/primitives/UnsignedIntegerTest.java

          UnsignedInteger unsignedValue = UnsignedInteger.fromIntBits(value);
          assertThat(unsignedValue.floatValue())
              .isEqualTo(unsignedValue.bigIntegerValue().floatValue());
        }
      }
    
      public void testDoubleValue() {
        for (int value : TEST_INTS) {
          UnsignedInteger unsignedValue = UnsignedInteger.fromIntBits(value);
          assertThat(unsignedValue.doubleValue())
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Dec 11 20:45:32 GMT 2025
    - 9.6K bytes
    - Click Count (0)
Back to Top