Searched refs:permutationSet (Results 1 – 2 of 2) sorted by relevance
/external/guava/guava-gwt/test-super/com/google/common/collect/super/com/google/common/collect/ |
D | Collections2Test.java | 78 Collection<List<Integer>> permutationSet = in testOrderedPermutationSetEmpty() local 81 assertEquals(1, permutationSet.size()); in testOrderedPermutationSetEmpty() 82 ASSERT.that(permutationSet).has().item(list); in testOrderedPermutationSetEmpty() 84 Iterator<List<Integer>> permutations = permutationSet.iterator(); in testOrderedPermutationSetEmpty() 157 Collection<List<Integer>> permutationSet = in testOrderedPermutationSetContains() local 160 assertTrue(permutationSet.contains(newArrayList(1, 2, 3))); in testOrderedPermutationSetContains() 161 assertTrue(permutationSet.contains(newArrayList(2, 3, 1))); in testOrderedPermutationSetContains() 162 assertFalse(permutationSet.contains(newArrayList(1, 2))); in testOrderedPermutationSetContains() 163 assertFalse(permutationSet.contains(newArrayList(1, 1, 2, 3))); in testOrderedPermutationSetContains() 164 assertFalse(permutationSet.contains(newArrayList(1, 2, 3, 4))); in testOrderedPermutationSetContains() [all …]
|
/external/guava/guava-tests/test/com/google/common/collect/ |
D | Collections2Test.java | 236 Collection<List<Integer>> permutationSet = 239 assertEquals(1, permutationSet.size()); 240 ASSERT.that(permutationSet).has().item(list); 242 Iterator<List<Integer>> permutations = permutationSet.iterator(); 315 Collection<List<Integer>> permutationSet = 318 assertTrue(permutationSet.contains(newArrayList(1, 2, 3))); 319 assertTrue(permutationSet.contains(newArrayList(2, 3, 1))); 320 assertFalse(permutationSet.contains(newArrayList(1, 2))); 321 assertFalse(permutationSet.contains(newArrayList(1, 1, 2, 3))); 322 assertFalse(permutationSet.contains(newArrayList(1, 2, 3, 4))); [all …]
|