Sha256: 46654689aeb324880725fd76358f2931d25da403a7c653d7ed841b5c61b54a1f

Contents?: true

Size: 321 Bytes

Versions: 9

Compression:

Stored size: 321 Bytes

Contents

require 'spec_helper'
require 'crc_examples'
require 'digest/crc8_1wire'

describe Digest::CRC8_1Wire do
  let(:string)   { '1234567890' }
  let(:expected) { '4f' }

  it_should_behave_like "CRC"
end

describe "Digest::CRC81Wire" do
  subject { Digest::CRC81Wire }

  it { expect(subject).to eq(Digest::CRC8_1Wire) }
end

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
digest-crc-0.6.5 spec/crc8_1wire_spec.rb
digest-crc-0.6.4 spec/crc8_1wire_spec.rb
digest-crc-0.6.3 spec/crc8_1wire_spec.rb
digest-crc-0.6.2 spec/crc8_1wire_spec.rb
digest-crc-0.6.1 spec/crc8_1wire_spec.rb
digest-crc-0.6.0 spec/crc8_1wire_spec.rb
digest-crc-0.6.0.rc1 spec/crc8_1wire_spec.rb
digest-crc-0.5.1 spec/crc8_1wire_spec.rb
digest-crc-0.5.0 spec/crc8_1wire_spec.rb