Sha256: 000f3614e2e5d2359ae972a02c45a3283cc9968afb5028490563b28bc6b96280

Contents?: true

Size: 301 Bytes

Versions: 4

Compression:

Stored size: 301 Bytes

Contents

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

module Imb

  describe Crc do

    describe '#crc' do

      specify do
        Crc.new.crc(0x016907B2A24ABC16A2E5C004B1).should == 0x751
      end

      specify do
        Crc.new.crc(0).should == 0x6e0
      end

    end

  end

end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
USPS-intelligent-barcode-0.2.7 spec/crc_spec.rb
USPS-intelligent-barcode-0.2.6 spec/crc_spec.rb
USPS-intelligent-barcode-0.2.5 spec/crc_spec.rb
USPS-intelligent-barcode-0.2.4 spec/crc_spec.rb