/[pxelator]/lib/PXElator/t/format.t
This is repository of my old source code which isn't updated any more. Go to git.rot13.org for current projects!
ViewVC logotype

Annotation of /lib/PXElator/t/format.t

Parent Directory Parent Directory | Revision Log Revision Log


Revision 213 - (hide annotations)
Thu Aug 13 12:06:35 2009 UTC (14 years, 9 months ago) by dpavlin
File MIME type: application/x-troff
File size: 206 byte(s)
extracted pretty printer into format.pm
1 dpavlin 213 #!/usr/bin/perl
2    
3     use warnings;
4     use strict;
5    
6     use Test::More tests => 3;
7    
8     use_ok 'format';
9    
10     ok( my $mac = format::mac( 'dead00beef' ), 'mac' );
11     diag $mac;
12     cmp_ok ( $mac, 'eq', 'DE:AD:00:BE:EF', 'formated' );

Properties

Name Value
svn:executable *

  ViewVC Help
Powered by ViewVC 1.1.26