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

describe "Digest::SHA512#block_length" do

  it "returns the length of digest block" do
    cur_digest = Digest::SHA512.new
    cur_digest.block_length.should == SHA512Constants::BlockLength
  end

end