Sha256: 9a9f82d1464caa74496167be23b122be0f3ec7327820f3c1946124eb7706eb39

Contents?: true

Size: 203 Bytes

Versions: 13

Compression:

Stored size: 203 Bytes

Contents

require 'spec_helper'
require 'crc_examples'
require 'digest/crc16_ccitt'

describe Digest::CRC16CCITT do
  let(:string)   { '1234567890' }
  let(:expected) { '3218' }

  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_ccitt_spec.rb
digest-crc-0.6.4 spec/crc16_ccitt_spec.rb
digest-crc-0.6.3 spec/crc16_ccitt_spec.rb
digest-crc-0.6.2 spec/crc16_ccitt_spec.rb
digest-crc-0.6.1 spec/crc16_ccitt_spec.rb
digest-crc-0.6.0 spec/crc16_ccitt_spec.rb
digest-crc-0.6.0.rc1 spec/crc16_ccitt_spec.rb
digest-crc-0.5.1 spec/crc16_ccitt_spec.rb
digest-crc-0.5.0 spec/crc16_ccitt_spec.rb
digest-crc-0.4.2 spec/crc16_ccitt_spec.rb
digest-crc-0.4.1 spec/crc16_ccitt_spec.rb
digest-crc-0.4.0 spec/crc16_ccitt_spec.rb
digest-crc-0.3.0 spec/crc16_ccitt_spec.rb