File: b64digest.t

package info (click to toggle)
libdigest-whirlpool-perl 1.09-4
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 448 kB
  • sloc: ansic: 1,646; perl: 175; makefile: 51
file content (13 lines) | stat: -rw-r--r-- 227 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
use strict;

use Test::More tests => 2;

use Digest::Whirlpool;

my $whirlpool = Digest::Whirlpool->new;

$whirlpool->add( "a" );

like $whirlpool->clone->$_, qr/^isom/, "digest"
    for map { qq<${_}64digest> } qw< b base >;