forked from JavaTX/JavaCompilerCore
15ter testcase
This commit is contained in:
parent
de607cfd53
commit
67e1c5c736
@ -377,11 +377,20 @@ public class FiniteClosureTest {
|
|||||||
*
|
*
|
||||||
* MyMap<K> <* HashMap<K, List<K>>
|
* MyMap<K> <* HashMap<K, List<K>>
|
||||||
*
|
*
|
||||||
* smaller(SortedSet<? extends Number, ? extends List<? extends Integer>) =
|
* smaller(NavigableSet<? extends Integer, ? extends ArrayList<? extends Integer>>) =
|
||||||
* { HashMap<? extends Integer>, List<Integer>>,
|
* { NavigableSet<? extends Integer, ? extends ArrayList<? extends Integer>>,
|
||||||
* HashMap<? extends Number, List<Integer>>,
|
* NavigableSet<? extends Integer, ? extends ArrayList<Integer>>
|
||||||
* MyMap<Integer, List<Integer>> }
|
* NavigableSet<? extends Integer, ArrayList<? extends Integer>>
|
||||||
|
* NavigableSet<? extends Integer, ArrayList<Integer>>
|
||||||
|
* TreeSet<? extends Integer, ? extends ArrayList<? extends Integer>>,
|
||||||
|
* TreeSet<? extends Integer, ? extends ArrayList<Integer>>
|
||||||
|
* TreeSet<? extends Integer, ArrayList<? extends Integer>>
|
||||||
|
* TreeSet<? extends Integer, ArrayList<Integer>> }
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
Type navSet = tf.getSimpleType("NavigableSet", extInt, tf.getExtendsType(tf.getSimpleType("ArrayList", extInt)));
|
||||||
|
|
||||||
|
Assert.assertEquals(8, fc.smaller(navSet).size());
|
||||||
}
|
}
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
|
Loading…
Reference in New Issue
Block a user