Sha256: 913e0b7132f43b15daa795cdf107f9d0299c80699fe67d95f419825494002198

Contents?: true

Size: 311 Bytes

Versions: 3

Compression:

Stored size: 311 Bytes

Contents

require File.expand_path('spec_helper', File.dirname(__FILE__))

module Imb

  describe Crc do

    describe '#crc' do

      specify do
        expect(Crc.new.crc(0x016907B2A24ABC16A2E5C004B1)).to eq(0x751)
      end

      specify do
        expect(Crc.new.crc(0)).to eq(0x6e0)
      end

    end

  end

end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
usps_intelligent_barcode-1.0.0 spec/crc_spec.rb
usps_intelligent_barcode-0.3.1 spec/crc_spec.rb
usps_intelligent_barcode-0.3.0 spec/crc_spec.rb