Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for testDoubleValue (0.1 sec)

  1. android/guava-tests/test/com/google/common/primitives/UnsignedLongTest.java

          assertWithMessage("Float value of " + unsignedValue)
              .that(unsignedValue.floatValue())
              .isEqualTo(unsignedValue.bigIntegerValue().floatValue());
        }
      }
    
      public void testDoubleValue() {
        for (long value : TEST_LONGS) {
          UnsignedLong unsignedValue = UnsignedLong.fromLongBits(value);
          assertWithMessage("Double value of " + unsignedValue)
              .that(unsignedValue.doubleValue())
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 02:56:12 UTC 2024
    - 10.4K bytes
    - Viewed (0)
  2. 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());
        }
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 17 02:42:09 UTC 2024
    - 10.3K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/primitives/UnsignedLongTest.java

          assertWithMessage("Float value of " + unsignedValue)
              .that(unsignedValue.floatValue())
              .isEqualTo(unsignedValue.bigIntegerValue().floatValue());
        }
      }
    
      public void testDoubleValue() {
        for (long value : TEST_LONGS) {
          UnsignedLong unsignedValue = UnsignedLong.fromLongBits(value);
          assertWithMessage("Double value of " + unsignedValue)
              .that(unsignedValue.doubleValue())
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 02:56:12 UTC 2024
    - 10.4K bytes
    - Viewed (0)
Back to top