Sha256: fbbb8ed37bac284eb004d7a156605f0d8d2518a15806291662100b94698a647a

Contents?: true

Size: 205 Bytes

Versions: 13

Compression:

Stored size: 205 Bytes

Contents

require 'spec_helper'
require 'crc_examples'
require 'digest/crc16_xmodem'

describe Digest::CRC16XModem do
  let(:string)   { '1234567890' }
  let(:expected) { 'd321' }

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