Sha256: 01006dc2c8c0c839e2696828b61f7573a65241f804a32a0ff7eabdab934c4a86

Contents?: true

Size: 235 Bytes

Versions: 2

Compression:

Stored size: 235 Bytes

Contents

require 'spec_helper'
require 'crc_examples'
require 'digest/crc16'

describe Digest::CRC16 do
  before(:all) do
    @crc_class = Digest::CRC16
    @string = '1234567890'
    @expected = 'c57a'
  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_spec.rb
digest-crc-0.1.0 spec/crc16_spec.rb