Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 12 of 12 for testSortDescendingIndexed (0.08 sec)

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

        input = Arrays.copyOf(input, input.length);
        Ints.sortDescending(input, fromIndex, toIndex);
        assertThat(input).isEqualTo(expectedOutput);
      }
    
      public void testSortDescendingIndexed() {
        testSortDescending(new int[] {}, 0, 0, new int[] {});
        testSortDescending(new int[] {1}, 0, 1, new int[] {1});
        testSortDescending(new int[] {1, 2}, 0, 2, new int[] {2, 1});
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 29.2K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/primitives/FloatsTest.java

        Floats.sortDescending(input, fromIndex, toIndex);
        for (int i = 0; i < input.length; i++) {
          assertThat(input[i]).isEqualTo(expectedOutput[i]);
        }
      }
    
      public void testSortDescendingIndexed() {
        testSortDescending(new float[] {}, 0, 0, new float[] {});
        testSortDescending(new float[] {1}, 0, 1, new float[] {1});
        testSortDescending(new float[] {1, 2}, 0, 2, new float[] {2, 1});
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 29.4K bytes
    - Viewed (0)
Back to top