use
strict;
use
warnings;
use
Data::Image;
use
Test::NoWarnings;
# Test.
my
$obj
= Data::Image->new(
);
is(
$obj
->height,
undef
,
'Get height (undef = default).'
);
# Test.
$obj
= Data::Image->new(
'height'
=> 2730,
);
is(
$obj
->height, 2730,
'Get height (2730).'
);