Cross Reference: digest.t
xref
: /
osnet-11
/
usr
/
src
/
cmd
/
perl
/
5.8.4
/
distrib
/
lib
/
Digest
/
t
/
digest.t
Home
History
Annotate
Line#
Navigate
Download
Search
only in
./
#!/
usr
/
bin
/
env
perl
use
strict
;
use
Test
::
More
tests
=>
4
;
# To find Digest::Dummy
use
lib
'lib'
;
use
Digest
;
$@ =
"rt#50663"
;
my
$d;
$d =
Digest
->
new
(
"Dummy"
)
;
is
$@,
"rt#50663"
;
is
$d->
digest
,
"ooo"
;
$d =
Digest
->
Dummy
;
is
$d->
digest
,
"ooo"
;
$Digest
::
MMAP
{
"Dummy-24"
} = [[
"NotThere"
],
"NotThereEither"
, [
"Digest::Dummy"
,
24
]];
$d =
Digest
->
new
(
"Dummy-24"
)
;
is
$d->
digest
,
"24"
;