Test::Data::Hash -- test functions for hash variables
use Test::Data qw(Hash);
This modules provides a collection of test utilities for hash variables. Load the module through Test::Data.
Ok if the value for KEY in HASH exists. The function does not create KEY in HASH.
Ok if the value for KEY in HASH does not exist. The function does not create KEY in HASH.
Ok if the value for KEY in HASH is defined. The function does not create KEY in HASH.
Ok if the value for KEY in HASH is undefined. The function does not create KEY in HASH.
Ok if the value for KEY in HASH is true. The function does not create KEY in HASH.
Ok if the value for KEY in HASH is false. The function does not create KEY in HASH.
Test::Data, Test::Data::Array, Test::Data::Function, Test::Data::Scalar, Test::Builder
This source is in Github:
https://github.com/briandfoy/test-data
brian d foy, <bdfoy@cpan.org>
<bdfoy@cpan.org>
Copyright © 2002-2021, brian d foy <bdfoy@cpan.org>. 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.
To install Test::Data, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Test::Data
CPAN shell
perl -MCPAN -e shell install Test::Data
For more information on module installation, please visit the detailed CPAN module installation guide.