and test it
[Biblio-Z3950.git] / t / 2-Aleph.t
1 #!/usr/bin/perl
2
3 use warnings;
4 use strict;
5
6 use Test::More tests => 4;
7
8 use_ok 'Aleph';
9
10 ok( my $o = Aleph->new, 'new' );
11
12 ok( my $hits = $o->search( 'WTI=linux' ), 'search' );
13 diag "$hits results";
14
15 ok( my $marc = $o->next_marc, 'next_marc' );
16 diag $marc;