]>
diplodocus.org Git - flac-archive/blob - t/two_digits.t
4 use Test
::More tests
=> 5;
9 epg
::flac
::archive
::tags-
>import('two_digits');
11 is two_digits
(0), '00',
14 is two_digits
(1), '01',
17 throws_ok
{ two_digits
(111) } qr/111 won't fit into two digits/;
19 throws_ok
{ two_digits
(-31) } qr/-31 won't fit into two digits/;
21 is two_digits
(''), '00';