X-Git-Url: http://git.rot13.org/?a=blobdiff_plain;f=t%2F10-3M-810.t;h=ae2e961cc06ada6f7e4e2518f4b72fefb9019e9b;hb=3ff7f5a9164a997ac22c5f91c59439d779791895;hp=bd48bdb7378659cd3007b9f2db34e0214f36a87f;hpb=45e4058fb35787bad561bad1b57435efec1bbc83;p=Biblio-RFID.git diff --git a/t/10-3M-810.t b/t/10-3M-810.t index bd48bdb..ae2e961 100755 --- a/t/10-3M-810.t +++ b/t/10-3M-810.t @@ -1,6 +1,6 @@ #!/usr/bin/perl -use Test::More tests => 2; +use Test::More tests => 3; use Data::Dump qw(dump); use lib 'lib'; @@ -11,4 +11,11 @@ BEGIN { ok( my $o = RFID::Serial::3M810->new( device => '/dev/ttyUSB0' ), 'new' ); +ok( my @tags = $o->inventory, 'inventory' ); +diag dump @tags; + +ok( my $blocks = $o->read_blocks( $_ ), "read_blocks $_" ) foreach @tags; + +ok( my $visible = $o->scan, 'scan' ); +diag dump $visible;