Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for assertPermutationsCount (0.33 sec)

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

      public void testPermutationSetSize() {
        assertPermutationsCount(1, Collections2.permutations(Collections.<Integer>emptyList()));
        assertPermutationsCount(1, Collections2.permutations(newArrayList(1)));
        assertPermutationsCount(2, Collections2.permutations(newArrayList(1, 2)));
        assertPermutationsCount(6, Collections2.permutations(newArrayList(1, 2, 3)));
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Feb 21 10:16:44 UTC 2024
    - 19.7K bytes
    - Viewed (0)
Back to top