Example #1
0
        public void Serialization_RegularPoint_CanBeDeserialized()
        {
            var expected = new Point2(3, -5);
            var actual   = expected.GetDataContractSerializerDeserializedObject();

            Assert.Equal(expected, actual);
        }
Example #2
0
 public void Serialization_RegularPoint_CanBeDeserialized()
 {
     var expected = new Point2(3, -5);
     var actual = expected.GetDataContractSerializerDeserializedObject();
     Assert.AreEqual(expected, actual);
 }