summaryrefslogtreecommitdiff
path: root/spec/ruby/core/string/unpack/e_spec.rb
blob: c958be1c8b2faee8da378d3624ac976f6ccc1062 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
require_relative '../../../spec_helper'
require_relative '../fixtures/classes'
require_relative 'shared/basic'
require_relative 'shared/float'

describe "String#unpack with format 'E'" do
  it_behaves_like :string_unpack_basic, 'E'
  it_behaves_like :string_unpack_double_le, 'E'
end

describe "String#unpack with format 'e'" do
  it_behaves_like :string_unpack_basic, 'e'
  it_behaves_like :string_unpack_float_le, 'e'
end