Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for compareTrueFirst (0.14 sec)

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

      public void testCompareTrueFirst() {
        assertThat(ComparisonChain.start().compareTrueFirst(true, true).result()).isEqualTo(0);
        assertThat(ComparisonChain.start().compareTrueFirst(true, false).result()).isLessThan(0);
        assertThat(ComparisonChain.start().compareTrueFirst(false, true).result()).isGreaterThan(0);
        assertThat(ComparisonChain.start().compareTrueFirst(false, false).result()).isEqualTo(0);
      }
    
      enum TriState {
        FALSE,
    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