public void PackNonSerialize() { MapActual map = new MapActual() { a = 1 }; byte[] bytes = Pack(map); Assert.AreEqual(1, bytes.Length); Assert.AreEqual(Format.FixMapMin, bytes[0]); }
public void UnpackNonSerialize() { MapTemp map = new MapTemp() { a = 1 }; byte[] bytes = Pack(map); MapActual actual = Unpack <MapActual>(bytes); Assert.AreEqual(null, actual.a); }