Author image Makoto Taniwaki
and 1 contributors

NAME

Test::Deep::Between - Number is the range expected

VERSION

This document describes Test::Deep::Between version 0.01.

SYNOPSIS

    use Test::Deep;
    use Test::Deep::Between;

    cmp_deeply $hash_ref, { data => between(0, 100) };

DESCRIPTION

This module check to got number in range in using Test::Deep.

INTERFACE

Functions

between($from, $to)

$expected is in $from to $to.

between_str($from, $to)

$expected is in $from to $to with string compare(le).

DEPENDENCIES

Perl 5.8.1 or later.

BUGS

All complex software has bugs lurking in it, and this module is no exception. If you find a bug please either email me, or add the bug to cpan-RT.

SEE ALSO

Test::Deep

AUTHOR

Makoto Taniwaki <macopy123@gmail.com >

LICENSE AND COPYRIGHT

Copyright (c) 2013, Makoto Taniwaki. All rights reserved.

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