Sha256: d3908341a5be721b7306be83a67709c153013ae63a5d3a8a91a3f3ef7e045aee

Contents?: true

Size: 293 Bytes

Versions: 7

Compression:

Stored size: 293 Bytes

Contents

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

module Imb

  describe Crc do

    describe '#crc' do

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

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

    end

  end

end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
USPS-intelligent-barcode-0.2.3 spec/Crc_spec.rb
USPS-intelligent-barcode-0.2.2 spec/Crc_spec.rb
USPS-intelligent-barcode-0.2.1 spec/Crc_spec.rb
USPS-intelligent-barcode-0.2.0 spec/Crc_spec.rb
USPS-intelligent-barcode-0.1.2 spec/Crc_spec.rb
USPS-intelligent-barcode-0.1.1 spec/Crc_spec.rb
USPS-intelligent-barcode-0.1.0 spec/Crc_spec.rb