Exemple #1
0
        public void ConfirmThatCollectionsAreEqualWhenCollectionTypeOverridesEqualsToCompareListElementsTest()
        {
            SameCollection col1 = new SameCollection();
            SameCollection col2 = new SameCollection();

            string str = "test";

            col1.Add(str);
            col2.Add(str);

            Confirm.Equal(col1, col2);
        }
        public void ConfirmThatCollectionsAreEqualWhenCollectionTypeOverridesEqualsToCompareListElementsTest()
        {
            SameCollection col1 = new SameCollection();
            SameCollection col2 = new SameCollection();

            string str = "test";

            col1.Add(str);
            col2.Add(str);

            Confirm.Equal(col1, col2);
        }