+ foreach (1 .. 10) {
+ ok($marc->fetch($_), "fetch $_");
+
+ ok($marc->last_leader, "last_leader $_");
+
+ ok(my $hash = $marc->to_hash($_), "to_hash $_");
+ diag "to_hash($_) = ",Data::Dump::dump($hash) if ($debug);
+ ok(my $ascii = $marc->to_ascii($_), "to_ascii $_");
+ diag "to_ascii($_) ::\n$ascii" if ($debug);
+ }
+
+ ok(! $marc->fetch(0), "fetch 0 again");
+ ok(! $marc->last_leader, "no last_leader");
+}