Sha256: 160a73dce74eb3135950c11e81f62814a96fde52abb65089b67ef47ac639954a

Contents?: true

Size: 254 Bytes

Versions: 2

Compression:

Stored size: 254 Bytes

Contents

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

describe Digest::CRC16Modbus do
  before(:all) do
    @crc_class = Digest::CRC16Modbus
    @string = '1234567890'
    @expected = 'c20a'
  end

  it_should_behave_like "CRC"
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
digest-crc-0.2.0 spec/crc16_modbus_spec.rb
digest-crc-0.1.0 spec/crc16_modbus_spec.rb