public void TestMethod() { Coordinates c = new Coordinates(); c.SetupTestArray(); // Serialize to memory stream MemoryStream mStream = new MemoryStream(); Serializer.Serialize(mStream, c); Assert.AreEqual(10960823, mStream.Length); }
public void TestMethod() { Coordinates c = new Coordinates(); c.SetupTestArray(); // Serialize to memory stream MemoryStream mStream = new MemoryStream(); Serializer.Serialize(mStream, c); Assert.Equal(10960823, mStream.Length); }
public void TestMethod() { Coordinates c = new Coordinates(); c.SetupTestArray(Max); // Serialize to memory stream MemoryStream mStream = new MemoryStream(); var tm = TypeModel.Create(false, ProtoCompatibilitySettingsValue.FullCompatibility); tm.Serialize(mStream, c); Assert.AreEqual(Size, mStream.Length); }