Andy Brown > Test-Data-Structures-0.025 > Test::Structures::Data

Download:
Test-Data-Structures-0.025.tar.gz

Dependencies

Annotate this POD

View/Report Bugs
Module Version: 0.025   Source  

NAME ^

Test::Structures::Data

VERSION ^

$LastChangedRevision$

SYNOPSIS ^

  use Test::More tests => 21;
  use Test::Structures::Data;

  is_value_found_in_hash_values( $value, $href, $optional_description );

DESCRIPTION ^

This module gives additional tests created by Test::Builder which will test data structures. Currently only one is available, however more are planned.

SUBROUTINES/METHODS ^

is_value_found_in_hash_values

exported by default. This test checks to see if the value you provide is within the values of the hashref also provided as the second arguement.

  is_value_found_in_hash_values( $value, $href, $optional_description );

DIAGNOSTICS ^

CONFIGURATION AND ENVIRONMENT ^

DEPENDENCIES ^

strict
warnings
Carp
English -no_match_vars
Test::Builder
Readonly
base

INCOMPATIBILITIES ^

BUGS AND LIMITATIONS ^

Most code has bugs and/or limitations, and this code is likely no exception. Please contact me via RT if available, email if not if you have any problems, concerns, patches or updates.

AUTHOR ^

$Author$

LICENSE AND COPYRIGHT ^

Copyright (C) 2010 Andy Brown (setitesuk@gmail.com)

This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program. If not, see <http://www.gnu.org/licenses/>.

syntax highlighting: