GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages


Manual Reference Pages  -  TEST::DATA::ARRAY (3)

.ds Aq ’

NAME

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

CONTENTS

SYNOPSIS

use Test::Data qw(Array);

DESCRIPTION

    Functions

array_any_ok( ITEM, ARRAY [, NAME] ) Ok if any element of ARRAY is ITEM.
array_none_ok( ITEM, ARRAY [, NAME] ) Ok if no element of ARRAY is ITEM.
array_once_ok( ITEM, ARRAY [, NAME] ) Ok if 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 if all elements of ARRAY are numerically less than or equal to NUMBER.
array_min_ok( NUMBER, ARRAY [, NAME] ) Ok if all elements of ARRAY are numerically greater than or equal to NUMBER.
array_maxstr_ok( ITEM, ARRAY [, NAME] ) Ok if all elements of ARRAY are asciibetically less than or equal to MAX.
array_minstr_ok( ITEM, ARRAY [, NAME] ) Ok if all elements of ARRAY are asciibetically greater than or equal to MAX.
array_sum_ok( SUM, ARRAY [, NAME] ) Ok if the numerical sum of ARRAY is SUM.
array_empty_ok( ARRAY [, NAME] ) Ok if the array contains no elements.
array_length_ok( ARRAY, LENGTH [, NAME] ) Ok if the array contains LENGTH number of elements.
array_sortedstr_ascending_ok( ARRAY, [, NAME] ) Ok if each succeeding element is asciibetically greater than or equal to the one before.
array_sortedstr_descending_ok( ARRAY, [, NAME] ) Ok if each succeeding element is asciibetically less than or equal to the one before.
array_sorted_ascending_ok( ARRAY, [, NAME] ) Ok if each succeeding element is numerically greater than or equal to the one before.
array_sorted_descending_ok( ARRAY, [, NAME] ) 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, <bdfoy@cpan.org>

COPYRIGHT AND LICENSE

Copyright (c) 2002-2012 brian d foy. All rights reserved.

This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.

Search for    or go to Top of page |  Section 3 |  Main Index


perl v5.20.3 TEST::DATA::ARRAY (3) 2014-01-03

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with manServer 1.07.