NAME
Test::Data::Array -- test functions for array variables
SYNOPSIS
use Test::Data qw(Array);
DESCRIPTION
Functions
- array_any_ok( ITEM, ARRAY [, NAME] )
-
Ok is any element of ARRAY is ITEM.
- array_none_ok( ITEM, ARRAY [, NAME] )
-
Ok is no element of ARRAY is ITEM.
- array_once_ok( ITEM, ARRAY [, NAME] )
-
Ok is only one element of ARRAY is ITEM.
- array_multiple_ok( ITEM, ARRAY [, NAME] )
-
Ok if more than one element of ARRAY is ITEM.
- array_max_ok( NUMBER, ARRAY [, NAME] )
-
Ok is all elements of ARRAY are numerically less than or equal to NUMBER.
- array_min_ok( NUMBER, ARRAY [, NAME] )
-
Ok is all elements of ARRAY are numerically greater than or equal to NUMBER.
- array_maxstr_ok( ITEM, ARRAY [, NAME] )
-
Ok is all elements of ARRAY are asciibetically less than or equal to MAX.
- array_minstr_ok( ITEM, ARRAY [, NAME] )
-
Ok is all elements of ARRAY are asciibetically greater than or equal to MAX.
- array_sum_ok( SUM, ARRAY [, NAME] )
-
Ok is the numerical sum of ARRAY is SUM.
- array_empty_ok( ARRAY [, NAME] )
-
Ok if the array contains no elements.
- array_empty_ok( ARRAY, LENGTH [, NAME] )
-
Ok if the array contains LENGTH number of elements.
SEE ALSO
Test::Data, Test::Data::Scalar, Test::Data::Function, Test::Data::Hash, Test::Builder
SOURCE AVAILABILITY
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.
AUTHOR
brian d foy, <bdfoy@cpan.org>
COPYRIGHT
Copyright 2002, brian d foy, All Rights Reserved
You may use, modify, and distribute this under the same terms as Perl itself.