use Test::More tests => 21; use Test::Structures::Data; is_value_found_in_hash_values( $value, $href, $optional_description );
This module gives additional tests created by Test::Builder which will test data structures. Currently only one is available, however more are planned.
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 );
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.
Copyright (C) 2010 Andy Brown (firstname.lastname@example.org)
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/>.