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); }
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); }