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