public void SerializeDeserialize() { var Temp = new Utilities.IO.Serializers.Default.XMLSerializer(); Assert.Equal(new Temp { A = 10 }.A, ((Temp)Temp.Deserialize(typeof(Temp), Temp.Serialize(typeof(Temp), new Temp { A = 10 }))).A); }
public void SerializeDeserialize() { var Temp = new Utilities.IO.Serializers.Default.XMLSerializer(); Assert.Equal(new Temp() { A = 10 }.A, ((Temp)Temp.Deserialize(typeof(Temp), Temp.Serialize(typeof(Temp), new Temp() { A = 10 }))).A); }
public void Creation() { var Temp = new Utilities.IO.Serializers.Default.XMLSerializer(); Assert.NotNull(Temp); }