Sha256: d570b3ef58c035d453036c5a362fac7d61a4ed8d56b68d2774fb0de33624664a

Contents?: true

Size: 204 Bytes

Versions: 3

Compression:

Stored size: 204 Bytes

Contents

require 'spec_helper'

describe Digest::SipHash do
  it "gc safe" do
    sip = SipHash.new
    GC.start
    sip.update "siphash"
    GC.start
    expect(sip.hexdigest).to eq("59caaeb90d542464")
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
digest-siphash-1.0.1 spec/mem_spec.rb
digest-siphash-1.0.0 spec/mem_spec.rb
digest-siphash-0.0.1 spec/mem_spec.rb