--- lib/PXElator/t/dhcpd.t 2009/08/17 13:25:48 243 +++ lib/PXElator/t/dhcpd.t 2009/08/17 13:27:18 244 @@ -4,8 +4,11 @@ use strict; use autodie; -use Test::More tests => 2; +use Test::More tests => 6; use_ok 'dhcpd'; ok( ! $dhcpd::transaction, 'transaction' ); + +ok( dhcpd::in_our_range($_), "in_our_range $_" ) foreach ( qw/0.0.0.0 172.16.10.1/ ); +ok( ! dhcpd::in_our_range($_), "! in_our_range $_" ) foreach ( qw/10.60.0.42 161.53.120.3/ );