public void CanConvertEnvelopeToFromShapeMsg() { IEnvelope env = GeometryFactory.CreateEnvelope(2600000.1234, 1200000.987654, 2601000.12, 1201000.98); EnvelopeMsg envelopeMsg = ProtobufGeometryUtils.ToEnvelopeMsg(env); IEnvelope rehydrated = ProtobufGeometryUtils.FromEnvelopeMsg(envelopeMsg); Assert.IsTrue(GeometryUtils.AreEqual(env, rehydrated)); }