예제 #1
0
        public void EmptyListBindingTest()
        {
            var expected = new PrimitiveListBindingClass();
            var actual   = Roundtrip(expected);

            Assert.Empty(actual.Ints);
        }
예제 #2
0
        public void EmptyListBindingTest()
        {
            var expected = new PrimitiveListBindingClass();
            var actual   = Roundtrip(expected);

            Assert.AreEqual(0, actual.Ints.Count);
        }
예제 #3
0
        public void PrimitiveListBindingTest()
        {
            var expected = new PrimitiveListBindingClass {
                Ints = new List <int> {
                    1, 2, 3
                }
            };
            var actual = Roundtrip(expected);

            Assert.Equal(expected.Ints.Count, actual.ItemCount);
        }