Esempio n. 1
0
        public void NotEquivalent()
        {
            DataSet x = new DataSet();
            DataSet y = new DataSet();
            DataSet z = new DataSet();

            ArrayList set1 = new ArrayList();
            ArrayList set2 = new ArrayList();

            set1.Add(x);
            set1.Add(y);
            set1.Add(z);

            set2.Add(x);
            set2.Add(y);
            set2.Add(x);

            OldCollectionAssert.AreNotEquivalent(set1, set2);
            OldCollectionAssert.AreNotEquivalent(set1, set2, "test");
            OldCollectionAssert.AreNotEquivalent(set1, set2, "test {0}", "1");
        }