Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for specs (0.29 sec)

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

        assertThat(Booleans.falseFirst().compare(true, false)).isGreaterThan(0);
      }
    
      public void testCompare() {
        for (boolean x : VALUES) {
          for (boolean y : VALUES) {
            // note: spec requires only that the sign is the same
            assertWithMessage(x + ", " + y)
                .that(Booleans.compare(x, y))
                .isEqualTo(Boolean.valueOf(x).compareTo(y));
          }
        }
      }
    
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Mon Mar 04 15:43:29 GMT 2024
    - 23.9K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/primitives/BooleansTest.java

        assertThat(Booleans.falseFirst().compare(true, false)).isGreaterThan(0);
      }
    
      public void testCompare() {
        for (boolean x : VALUES) {
          for (boolean y : VALUES) {
            // note: spec requires only that the sign is the same
            assertWithMessage(x + ", " + y)
                .that(Booleans.compare(x, y))
                .isEqualTo(Boolean.valueOf(x).compareTo(y));
          }
        }
      }
    
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Mar 04 15:43:29 GMT 2024
    - 23.9K bytes
    - Viewed (0)
Back to top