Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for testCorrectOrdering_regression (0.29 sec)

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

            q.removeAt(i);
            assertIntactUsingStartedWith(perm, q);
          }
        }
      }
    
      /** Regression test for bug found. */
      public void testCorrectOrdering_regression() {
        MinMaxPriorityQueue<Integer> q = MinMaxPriorityQueue.create(ImmutableList.of(3, 5, 1, 4, 7));
        List<Integer> expected = ImmutableList.of(1, 3, 4, 5, 7);
        List<Integer> actual = new ArrayList<>(5);
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 36K bytes
    - Viewed (0)
Back to top