diff --git a/test/unify/FiniteClosureTest.java b/test/unify/FiniteClosureTest.java index 7c422bda..d1f99d60 100644 --- a/test/unify/FiniteClosureTest.java +++ b/test/unify/FiniteClosureTest.java @@ -377,11 +377,20 @@ public class FiniteClosureTest { * * MyMap <* HashMap> * - * smaller(SortedSet) = - * { HashMap, List>, - * HashMap>, - * MyMap> } + * smaller(NavigableSet>) = + * { NavigableSet>, + * NavigableSet> + * NavigableSet> + * NavigableSet> + * TreeSet>, + * TreeSet> + * TreeSet> + * TreeSet> } */ + + Type navSet = tf.getSimpleType("NavigableSet", extInt, tf.getExtendsType(tf.getSimpleType("ArrayList", extInt))); + + Assert.assertEquals(8, fc.smaller(navSet).size()); } @Test