Sha256: 4860d2265b21b59b2a908b092b91f5f8faba1344e561918661525250f8f334c3
Contents?: true
Size: 560 Bytes
Versions: 4
Compression:
Stored size: 560 Bytes
Contents
require "test/unit" require File.expand_path(File.join(File.dirname(__FILE__), "../lib/amp")) class TestBase85 < Test::Unit::TestCase def test_encode assert_equal("Xk~0{Zy<DNWpZUKAZ>XdZeeX@AZc?TZE0g@VP$L~AZTxQAYpQ4AbD?fAarkJVR=6", Amp::Encoding::Base85.encode("hello there, my name is michael! how are you today?")) end def test_decode assert_equal("hello there, my name is michael! how are you today?", Amp::Encoding::Base85.decode("Xk~0{Zy<DNWpZUKAZ>XdZeeX@AZc?TZE0g@VP$L~AZTxQAYpQ4AbD?fAarkJVR=6")) end end
Version data entries
4 entries across 4 versions & 2 rubygems
Version | Path |
---|---|
amp-0.5.2 | test/test_base85.rb |
amp-0.5.1 | test/test_base85.rb |
amp-pure-0.5.0 | test/test_base85.rb |
amp-0.5.0 | test/test_base85.rb |