aboutsummaryrefslogtreecommitdiffstats
path: root/spec/rubyspec/core/string/unpack/e_spec.rb
blob: cb74c00206facc0b87ddd9a72e9e9ab0b1aa2a67 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
require File.expand_path('../../../../spec_helper', __FILE__)
require File.expand_path('../../fixtures/classes', __FILE__)
require File.expand_path('../shared/basic', __FILE__)
require File.expand_path('../shared/float', __FILE__)

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