Sha256: 70146c7678283d896cd573783c4fd47ec7c19a509f012d1d7eb2d431a99eb208

Contents?: true

Size: 199 Bytes

Versions: 13

Compression:

Stored size: 199 Bytes

Contents

require 'spec_helper'
require 'crc_examples'
require 'digest/crc16_usb'

describe Digest::CRC16USB do
  let(:string)   { '1234567890' }
  let(:expected) { '3df5' }

  it_should_behave_like "CRC"
end

Version data entries

13 entries across 13 versions & 1 rubygems

Version Path
digest-crc-0.6.5 spec/crc16_usb_spec.rb
digest-crc-0.6.4 spec/crc16_usb_spec.rb
digest-crc-0.6.3 spec/crc16_usb_spec.rb
digest-crc-0.6.2 spec/crc16_usb_spec.rb
digest-crc-0.6.1 spec/crc16_usb_spec.rb
digest-crc-0.6.0 spec/crc16_usb_spec.rb
digest-crc-0.6.0.rc1 spec/crc16_usb_spec.rb
digest-crc-0.5.1 spec/crc16_usb_spec.rb
digest-crc-0.5.0 spec/crc16_usb_spec.rb
digest-crc-0.4.2 spec/crc16_usb_spec.rb
digest-crc-0.4.1 spec/crc16_usb_spec.rb
digest-crc-0.4.0 spec/crc16_usb_spec.rb
digest-crc-0.3.0 spec/crc16_usb_spec.rb