Beispiel #1
0
        public void EmptyIsSubsetOfTest()
        {
            var intSetFirst  = new GenericSet <int>();
            var intSetSecond = new GenericSet <int>();
            var firstData    = new int[] { 5, 16, -32, 56, 0, 5, 44, 16, 13 };

            for (int i = 0; i < firstData.Length; ++i)
            {
                intSetFirst.Add(firstData[i]);
            }
            Assert.IsTrue(intSetSecond.IsSubsetOf(intSetFirst));
        }