The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

Test::Data::Array -- test functions for array variables

SYNOPSIS

use Test::Data::Array;

DESCRIPTION

FUNCTIONS

array_any_ok( ITEM, ARRAY )

Ok is any element of ARRAY is ITEM.

array_none_ok( ITEM, ARRAY )

Ok is no element of ARRAY is ITEM.

array_once_ok( ITEM, ARRAY )

Ok is only one element of ARRAY is ITEM.

array_multiple_ok( ITEM, ARRAY )

Ok if more than one element of ARRAY is ITEM.

array_max_ok( NUMBER, ARRAY )

Ok is all elements of ARRAY are numerically less than or equal to NUMBER.

array_min_ok( NUMBER, ARRAY )

Ok is all elements of ARRAY are numerically greater than or equal to NUMBER.

array_maxstr_ok( ITEM, ARRAY )

Ok is all elements of ARRAY are asciibetically less than or equal to MAX.

array_minstr_ok( ITEM, ARRAY )

Ok is all elements of ARRAY are asciibetically greater than or equal to MAX.

array_sum_ok( SUM, ARRAY )

Ok is the numerical sum of ARRAY is SUM.

SEE ALSO

Test::Data, Test::Data::Scalar, Test::Data::Hash, Test::Builder

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.