Sha256: c1e8441d103e063d26688d8756afc6f4409a82f1ba7aa8b438fa78b1fce031de

Contents?: true

Size: 342 Bytes

Versions: 3

Compression:

Stored size: 342 Bytes

Contents

require 'zeamays/corn/fruiter/integer16'

describe Zeamays::Corn::Fruiter::Integer16 do
  let(:packing) { Zeamays::Corn::Fruiter::Integer16.fruit_i16(target_value) }

  context "normally" do
    let(:target_value) { 50000 }
    subject { packing.unpack("n").first }
    it { should eq target_value }
  end

  pending "Not Integer16 type"
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
zeamays-0.0.6 spec/zeamays/corn/fruiter/integer16_spec.rb
zeamays-0.0.5 spec/zeamays/corn/fruiter/integer16_spec.rb
zeamays-0.0.1 spec/zeamays/corn/fruiter/integer16_spec.rb