Incorrect search filter: invalid characters - *.p[ml]
ANSI-Heatmap

 view release on metacpan or  search on metacpan

LICENSE  view on Meta::CPAN

205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED
TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY
YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER
PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE
POSSIBILITY OF SUCH DAMAGES.
 
                     END OF TERMS AND CONDITIONS
 
        Appendix: How to Apply These Terms to Your New Programs
 
  If you develop a new program, and you want it to be of the greatest
possible use to humanity, the best way to achieve this is to make it
free software which everyone can redistribute and change under these
terms.
 
  To do so, attach the following notices to the program.  It is safest to
attach them to the start of each source file to most effectively convey
the exclusion of warranty; and each file should have at least the
"copyright" line and a pointer to where the full notice is found.
 
    <one line to give the program's name and a brief idea of what it does.>

t/basic.t  view on Meta::CPAN

1
2
3
4
5
6
7
8
9
10
11
use Test::More tests => 16;
use strict;
 
 
my $map = ANSI::Heatmap->new;
$map->set(0,0,1);
$map->set(1,1,1);
 
is_deeply( $map->data, [[1,0], [0,1]], 'set' );



( run in 0.338 second using v1.01-cache-2.11-cpan-4e96b696675 )