ACIL FM
Dark
Refresh
Current DIR:
/home/.cpan/build/Digest-MD5-2.59-0/t
/
home
.cpan
build
Digest-MD5-2.59-0
t
Upload
Zip Selected
Delete Selected
Pilih semua
Nama
Ukuran
Permission
Aksi
align.t
349 B
chmod
View
DL
Edit
Rename
Delete
badfile.t
358 B
chmod
View
DL
Edit
Rename
Delete
bits.t
501 B
chmod
View
DL
Edit
Rename
Delete
clone.t
811 B
chmod
View
DL
Edit
Rename
Delete
files.t
4.07 MB
chmod
View
DL
Edit
Rename
Delete
md5-aaa.t
86.22 MB
chmod
View
DL
Edit
Rename
Delete
threads.t
579 B
chmod
View
DL
Edit
Rename
Delete
utf8.t
1.06 MB
chmod
View
DL
Edit
Rename
Delete
warns.t
1.43 MB
chmod
View
DL
Edit
Rename
Delete
Edit file: /home/.cpan/build/Digest-MD5-2.59-0/t/clone.t
#!perl -w use strict; use warnings; use Digest::MD5 qw(md5_hex); print "1..6\n"; my $a = Digest::MD5->new; $a->add("a"); my $b = $a->clone; print "not " unless $b->clone->hexdigest eq md5_hex("a"); print "ok 1\n"; $a->add("a"); print "not " unless $a->hexdigest eq md5_hex("aa"); print "ok 2\n"; print "not " unless $a->hexdigest eq md5_hex(""); print "ok 3\n"; $b->add("b"); print "not " unless $b->clone->hexdigest eq md5_hex("ab"); print "ok 4\n"; $b->add("c"); print "not " unless $b->clone->hexdigest eq md5_hex("abc"); print "ok 5\n"; # Test that cloning picks up the correct class for subclasses. { package MD5; @MD5::ISA = qw(Digest::MD5); } $a = MD5->new; $a->add("a"); $b = $a->clone; print "not " unless ref($b) eq "MD5" && $b->add("b")->hexdigest eq md5_hex("ab"); print "ok 6\n";
Simpan
Batal
Isi Zip:
Unzip
Create
Buat Folder
Buat File
Terminal / Execute
Run
Chmod Bulk
All File
All Folder
All File dan Folder
Apply