Sha256: 30b88b133fc76965225530e83eb65257e2c4a3a0f9b3ddab8aaf7b85ebbfdc43

Contents?: true

Size: 205 Bytes

Versions: 14

Compression:

Stored size: 205 Bytes

Contents

require 'spec_helper'
require 'crc_examples'
require 'digest/crc16_modbus'

describe Digest::CRC16Modbus do
  let(:string)   { '1234567890' }
  let(:expected) { 'c20a' }

  it_should_behave_like "CRC"
end

Version data entries

14 entries across 13 versions & 1 rubygems

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