Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for testSort (0.03 sec)

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

        assertThat(comparator2.compare(a0, b0)).isLessThan(0);
      }
    
      public void testSort() {
        testSort(new byte[] {}, new byte[] {});
        testSort(new byte[] {2}, new byte[] {2});
        testSort(new byte[] {2, 1, 0}, new byte[] {0, 1, 2});
        testSort(new byte[] {2, GREATEST, 1, LEAST}, new byte[] {LEAST, 1, 2, GREATEST});
      }
    
      static void testSort(byte[] input, byte[] expected) {
        input = Arrays.copyOf(input, input.length);
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Dec 11 20:45:32 UTC 2025
    - 13.5K bytes
    - Viewed (0)
Back to top