#!/usr/bin/perl
-use Test::More tests => 2;
+use Test::More tests => 3;
use Data::Dump qw(dump);
use lib 'lib';
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;