public void TestOffset()
        { 
            DMO_First first = new DMO_First {Foo = 12};
            DMO_Second second = Serializer.ChangeType<DMO_First, DMO_Second>(first);

            Assert.AreEqual(first.Foo, second.Bar);
        }
Exemple #2
0
        public void TestOffset()
        {
            DMO_First first = new DMO_First {
                Foo = 12
            };
            DMO_Second second = Serializer.ChangeType <DMO_First, DMO_Second>(first);

            Assert.Equal(first.Foo, second.Bar);
        }