Last active
August 29, 2015 13:57
-
-
Save spiegela/9825742 to your computer and use it in GitHub Desktop.
base64 vlq property test
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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