Exemplo n.º 1
0
        public virtual void TestEquals()
        {
            NUnit.Framework.Assert.IsTrue(set.Equals(set));
            HashSet <int> hset = new HashSet <int>();

            Sharpen.Collections.AddAll(hset, set);
            NUnit.Framework.Assert.IsTrue(set.Equals(hset));
            NUnit.Framework.Assert.IsTrue(hset.Equals(set));
        }