require 'spec_helper'
require 'digest/crc'

describe Digest::CRC do
  it "should define block_length of 1" do
    crc = subject

    expect(crc.block_length).to be 1
  end

  it "should pack to an empty String by default" do
    expect(described_class.pack(0)).to be_empty
  end
end
