NAME
Test::Data::Hash -- test functions for hash variables
SYNOPSIS
use Test::Data qw(Hash);
DESCRIPTION
This modules provides a collection of test utilities for hash variables. Load the module through Test::Data.
Functions
- exists_ok( KEY, HASH [, NAME] )
-
Ok is the value for KEY in HASH exists. The function does not create KEY in HASH.
- not_exists_ok( KEY, HASH [, NAME] )
-
Ok is the value for KEY in HASH does not exist. The function does not create KEY in HASH.
- hash_value_defined_ok( KEY, HASH [, NAME] )
-
Ok is the value for KEY in HASH is defined. The function does not create KEY in HASH.
- hash_value_undef_ok( KEY, HASH [, NAME] )
-
Ok is the value for KEY in HASH is undefined. The function does not create KEY in HASH.
- hash_value_true_ok( KEY, HASH [, NAME] )
-
Ok is the value for KEY in HASH is true. The function does not create KEY in HASH.
- hash_value_false_ok( KEY, HASH [, NAME] )
-
Ok is the value for KEY in HASH is false. The function does not create KEY in HASH.
SEE ALSO
Test::Data, Test::Data::Array, Test::Data::Function, Test::Data::Scalar, Test::Builder
SOURCE AVAILABILITY
This source is part of a SourceForge project which always has the latest sources in CVS, as well as all of the previous releases.
https://sourceforge.net/projects/brian-d-foy/
If, for some reason, I disappear from the world, one of the other members of the project can shepherd this module appropriately.
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.