Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for sign (0.21 sec)

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

              .isEqualTo(!(Float.isInfinite(value) || Float.isNaN(value)));
        }
      }
    
      public void testCompare() {
        for (float x : VALUES) {
          for (float y : VALUES) {
            // note: spec requires only that the sign is the same
            assertWithMessage(x + ", " + y)
                .that(Floats.compare(x, y))
                .isEqualTo(Float.valueOf(x).compareTo(y));
          }
        }
      }
    
      public void testContains() {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 29 15:43:06 GMT 2024
    - 29.5K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/primitives/FloatsTest.java

              .isEqualTo(!(Float.isInfinite(value) || Float.isNaN(value)));
        }
      }
    
      public void testCompare() {
        for (float x : VALUES) {
          for (float y : VALUES) {
            // note: spec requires only that the sign is the same
            assertWithMessage(x + ", " + y)
                .that(Floats.compare(x, y))
                .isEqualTo(Float.valueOf(x).compareTo(y));
          }
        }
      }
    
      public void testContains() {
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Thu Feb 29 15:43:06 GMT 2024
    - 29.5K bytes
    - Viewed (0)
Back to top