Revision 8d2b6a12
ID | 8d2b6a120c7099c857b730729eb1453e14b3698e |
Add unit test for serialisation of DiskLogicalId and Nodes
Since the DiskLogicalId type is manually serialised/deserialised (see
Objects.hs, `encodeDLid' and `decodeDLId'), let's add a test that
checks that these are idempotent when combined.
Since we're at it, let's add the same test for Node serialisation,
which already has an Arbitrary instance.
Signed-off-by: Iustin Pop <iustin@google.com>
Reviewed-by: René Nussbaumer <rn@google.com>
Files
- added
- modified
- copied
- renamed
- deleted