summaryrefslogtreecommitdiff
path: root/spec/ruby/library/digest/sha384/block_length_spec.rb
blob: 070715b27eb8914ffec87c7a770cd36a7cd401a0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
require File.expand_path('../../../../spec_helper', __FILE__)
require File.expand_path('../shared/constants', __FILE__)

describe "Digest::SHA384#block_length" do

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

end