Scroll to navigation

Test::Data::Array(3pm) User Contributed Perl Documentation Test::Data::Array(3pm)

NAME

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

SYNOPSIS

use Test::Data qw(Array);

DESCRIPTION

Functions

Ok if any element of ARRAY is ITEM.
Ok if no element of ARRAY is ITEM.
Ok if only one element of ARRAY is ITEM.
Ok if more than one element of ARRAY is ITEM.
Ok if all elements of ARRAY are numerically less than or equal to NUMBER.
Ok if all elements of ARRAY are numerically greater than or equal to NUMBER.
Ok if all elements of ARRAY are asciibetically less than or equal to MAX.
Ok if all elements of ARRAY are asciibetically greater than or equal to MAX.
Ok if the numerical sum of ARRAY is SUM.
Ok if the array contains no elements.
Ok if the array contains LENGTH number of elements.
Ok if each succeeding element is asciibetically greater than or equal to the one before.
Ok if each succeeding element is asciibetically less than or equal to the one before.
Ok if each succeeding element is numerically greater than or equal to the one before.
Ok if each succeeding element is numerically less than or equal to the one before.

SEE ALSO

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

SOURCE AVAILABILITY

This source is in Github:

        https://github.com/briandfoy/test-data

AUTHOR

brian d foy, "<briandfoy@pobox.com>"

COPYRIGHT AND LICENSE

Copyright © 2002-2024, brian d foy <briandfoy@pobox.com>. All rights reserved.

This program is free software; you can redistribute it and/or modify it under the terms of the Artistic License 2.0.

2024-03-16 perl v5.38.2