TIntSet copy = new TIntHashSet(set);
assertTrue("set not a copy: " + set + ", " + copy, set.equals(copy));
TIntSet another = new TIntHashSet(20);
another.addAll(ints);
assertTrue("set not equal: " + set + ", " + copy, set.equals(another));
another = new TIntHashSet(2, 1.0f);
another.addAll(ints);
assertTrue("set not equal: " + set + ", " + copy, set.equals(another));