Test::Data::Array -- test functions for array variables
use Test::Data qw(Array);
Ok is any element of ARRAY is ITEM.
Ok is no element of ARRAY is ITEM.
Ok is only one element of ARRAY is ITEM.
Ok if more than one element of ARRAY is ITEM.
Ok is all elements of ARRAY are numerically less than or equal to NUMBER.
Ok is all elements of ARRAY are numerically greater than or equal to NUMBER.
Ok is all elements of ARRAY are asciibetically less than or equal to MAX.
Ok is all elements of ARRAY are asciibetically greater than or equal to MAX.
Ok is the numerical sum of ARRAY is SUM.
Ok if the array contains no elements.
Ok if the array contains LENGTH number of elements.
Test::Data, Test::Data::Scalar, Test::Data::Function, Test::Data::Hash, Test::Builder
This source is part of a SourceForge project which always has the latest sources in CVS, as well as all of the previous releases.
https://sourceforge.net/projects/brian-d-foy/
If, for some reason, I disappear from the world, one of the other members of the project can shepherd this module appropriately.
brian d foy, <bdfoy@cpan.org>
Copyright 2002, brian d foy, All Rights Reserved
You may use, modify, and distribute this under the same terms as Perl itself.
To install Test::Data, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Test::Data
CPAN shell
perl -MCPAN -e shell install Test::Data
For more information on module installation, please visit the detailed CPAN module installation guide.