Skip to content

Instantly share code, notes, and snippets.

@Christewart
Created July 18, 2016 01:28
Show Gist options
  • Save Christewart/b932fb7cd12c42a9b8fa6fe02669e44c to your computer and use it in GitHub Desktop.
Save Christewart/b932fb7cd12c42a9b8fa6fe02669e44c to your computer and use it in GitHub Desktop.
property("serialization symmetry") =
Prop.forAll(BlockchainElementsGenerator.blockHeader) { header =>
BlockHeader(header.hex) == header
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment