Sha256: caeb2aa6c53b28eb3c999820ce7ec67eafc762f38d25de1ebfc4a614ea955577
Contents?: true
Size: 410 Bytes
Versions: 2
Compression:
Stored size: 410 Bytes
Contents
require 'environment' describe "decoding" do it_should_decode 42, "i42e" it_should_decode 0, "i0e" it_should_decode -42, "i-42e" it_should_decode "foo", "3:foo" it_should_decode "", "0:" it_should_decode [1, 2, 3], "li1ei2ei3ee" hsh = {"foo" => "bar", "baz" => "qux"} it_should_decode hsh, "d3:foo3:bar3:baz3:quxe" it_should_decode 42, "i42eBOGUS", :ignore_trailing_junk => true end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
bencode-0.8.2 | test/decoding_test.rb |
bencode-0.8.1 | test/decoding_test.rb |