예제 #1
0
        public void CanSerializePrimitiveList()
        {
            var list = new PrimitiveList();

            for (var n = 0; n < 10; n++)
            {
                list.List.Add(Primitives.Create(n));
            }

            Assert.IsTrue(TestMethods.CanSerialize <PrimitiveList>(this.Serializer, list, this.Serializer));
        }
예제 #2
0
        public void CanSerializePrimitiveList()
        {
            var list = new PrimitiveList ();

            for (var n = 0; n < 10; n++)
            {
                list.List.Add(Primitives.Create(n));
            }

            Assert.IsTrue(TestMethods.CanSerialize<PrimitiveList>(this.Serializer, list, this.Serializer));
        }