Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for testIsInOrder (0.09 sec)

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

            .addEqualityGroup(Comparators.lexicographical(String.CASE_INSENSITIVE_ORDER))
            .addEqualityGroup(Ordering.natural())
            .testEquals();
      }
    
      public void testIsInOrder() {
        assertFalse(isInOrder(asList(5, 3, 0, 9), Ordering.natural()));
        assertFalse(isInOrder(asList(0, 5, 3, 9), Ordering.natural()));
        assertTrue(isInOrder(asList(0, 3, 5, 9), Ordering.natural()));
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 6.4K bytes
    - Viewed (0)
Back to top