protocol/wire/test: Define `fn roundtrip` and macro
In many tests we assert that encoding and decoding gives the same object. Let’s call that a “roundrip”, and also provide a proc macro to generate such tests.
In many tests we assert that encoding and decoding gives the same object. Let’s call that a “roundrip”, and also provide a proc macro to generate such tests.
Rebased.