mirror of
https://github.com/apache/commons-collections.git
synced 2025-02-16 06:56:05 +00:00
Add org.apache.commons.collections4.SetUtilsTest.testUnmodifiableSetWrap()
and sort methods.
This commit is contained in:
parent
e6743fb61d
commit
b3cc99ca7d
@ -24,6 +24,7 @@ import static org.junit.Assert.fail;
|
||||
|
||||
import java.util.Arrays;
|
||||
import java.util.Collection;
|
||||
import java.util.Collections;
|
||||
import java.util.HashSet;
|
||||
import java.util.Set;
|
||||
|
||||
@ -284,7 +285,7 @@ public class SetUtilsTest {
|
||||
{
|
||||
Set<Integer> set1 = SetUtils.unmodifiableSet(1, 2, 2, 3);
|
||||
Set<Integer> set2 = SetUtils.unmodifiableSet(set1);
|
||||
assertEquals(set1, set2);
|
||||
assertSame(set1, set2);
|
||||
}
|
||||
|
||||
@Test
|
||||
|
Loading…
x
Reference in New Issue
Block a user