Sha256: b958bb11911150ea43f3e81d3cd32e2614a80a9a337ad440f960ce0591b298b1

Contents?: true

Size: 230 Bytes

Versions: 1

Compression:

Stored size: 230 Bytes

Contents

require 'test/unit'
require "#{File.dirname(__FILE__)}/../../lib/bencode.rb"

class BencodeFloatTest < Test::Unit::TestCase
  def test_illegal_number
    assert_raise BEncode::EncodeError do
      13.37.bencode
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
bencode-0.5.0 test/encode/test_float.rb