--- trunk/t/001_marc.t 2005/12/18 23:12:26 6 +++ trunk/t/001_marc.t 2006/07/13 14:00:23 9 @@ -27,6 +27,8 @@ isa_ok ($marc, 'MARC::Fast'); + #diag Dumper($marc); + cmp_ok($marc->count, '==', scalar @{$marc->{leaders}}, "count == leaders"); cmp_ok($marc->count, '==', scalar @{$marc->{fh_offset}}, "count == fh_offset"); @@ -36,5 +38,8 @@ foreach (1 .. 10) { ok($marc->fetch($_), "fetch $_"); + + ok(my $hash = $marc->to_hash($_), "to_hash $_"); + diag "$_ :: ",Dumper($hash); } }