summaryrefslogtreecommitdiff
path: root/spec/ruby/library/digest/sha512/digest_length_spec.rb
blob: ff5956dd75aef6c11d74145b6a075af086445c53 (plain)
1
2
3
4
5
6
7
8
9
10
11
require_relative '../../../spec_helper'
require_relative 'shared/constants'

describe "Digest::SHA512#digest_length" do

  it "returns the length of computed digests" do
    cur_digest = Digest::SHA512.new
    cur_digest.digest_length.should == SHA512Constants::DigestLength
  end

end