示例#1
0
        public void SequenceEqual_DifferentOrder_AreNotEqual()
        {
            var blist1 = new BList
            {
                "foo",
                "bar"
            };

            var blist2 = new BList
            {
                "bar",
                "foo"
            };

            blist1.SequenceEqual(blist2).Should().BeFalse();
        }
示例#2
0
        public void SequenceEqual_SameOrder_AreEqual()
        {
            var blist1 = new BList
            {
                "foo",
                "bar"
            };

            var blist2 = new BList
            {
                "foo",
                "bar"
            };

            blist1.SequenceEqual(blist2).Should().BeTrue();
        }