Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for testCompareBooleans (0.1 sec)

  1. guava-tests/test/com/google/common/collect/ComparisonChainTest.java

        @Override
        public int compareTo(DontCompareMe o) {
          throw new AssertionFailedError();
        }
      }
    
      @SuppressWarnings("deprecation")
      public void testCompareBooleans() {
        assertThat(
                ComparisonChain.start()
                    .compare(true, true)
                    .compare(true, Boolean.TRUE)
                    .compare(Boolean.TRUE, true)
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Feb 27 13:27:08 UTC 2024
    - 7.5K bytes
    - Viewed (0)
Back to top