File: hashsize.t

package info (click to toggle)
libdigest-whirlpool-perl 1.09-1.1
  • links: PTS
  • area: main
  • in suites: bullseye, buster
  • size: 416 kB
  • ctags: 627
  • sloc: ansic: 1,646; perl: 175; makefile: 49
file content (11 lines) | stat: -rw-r--r-- 227 bytes parent folder | download | duplicates (6)
1
2
3
4
5
6
7
8
9
10
11
use strict;
use warnings;

use Test::More tests => 2;

use Digest::Whirlpool qw< hashsize >;

cmp_ok(Digest::Whirlpool::hashsize(), '==', 512, 'hashsize');
cmp_ok(Digest::Whirlpool->new->hashsize, '==', 512, 'hashsize: OO');