Sha256: d893901d40124d6104aeb20cf9d2e499fee83fa5de2554cbd8dab5b078b4c2c0

Contents?: true

Size: 254 Bytes

Versions: 2

Compression:

Stored size: 254 Bytes

Contents

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

describe Digest::CRC16XModem do
  before(:all) do
    @crc_class = Digest::CRC16XModem
    @string = '1234567890'
    @expected = 'd321'
  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_xmodem_spec.rb
digest-crc-0.1.0 spec/crc16_xmodem_spec.rb