Skip to content

Instantly share code, notes, and snippets.

@spiegela
Last active August 29, 2015 13:57
Show Gist options
  • Save spiegela/9825742 to your computer and use it in GitHub Desktop.
Save spiegela/9825742 to your computer and use it in GitHub Desktop.
base64 vlq property test
test "Base64VLQ Encoding" do
property "is reflective with decode" do
x = generate_integer() # needs to generate any negative or positive integer
assert_equal(x, Base64VLQ.decode( Base64VLQ.encode(x)))
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment