X-Git-Url: http://git.rot13.org/?a=blobdiff_plain;f=t%2F10-3M-810.t;h=972b41a72da012a998f10fcd6645c02d4da99d91;hb=bd409be6f99c801b77b14e9a2605c0f5f1735840;hp=66938c113ced32f0b3afa35eb50112c56595007a;hpb=b9bf276a9f48c5d2b5aa14473df14ca37dc1d76a;p=Biblio-RFID.git diff --git a/t/10-3M-810.t b/t/10-3M-810.t index 66938c1..972b41a 100755 --- a/t/10-3M-810.t +++ b/t/10-3M-810.t @@ -11,5 +11,13 @@ BEGIN { ok( my $o = RFID::Serial::3M810->new( device => '/dev/ttyUSB0' ), 'new' ); -ok( my $inventory = $o->inventory, 'inventory' ); +ok( my @tags = $o->inventory, 'inventory' ); +diag dump @tags; + +ok( my $blocks = $o->read_blocks( $_ ), "read_blocks $_" ) foreach @tags; + +ok( my $afi = $o->read_afi( $_ ), "read_afi $_" ) foreach @tags; + +ok( my $visible = $o->scan, 'scan' ); +diag dump $visible;