projects
/
Biblio-Z3950.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
008
[Biblio-Z3950.git]
/
t
/
2-Aleph.t
1
#!/usr/bin/perl
2
3
use warnings;
4
use strict;
5
6
use Test::More tests => 6;
7
8
use_ok 'Aleph';
9
10
ok( my $o = Aleph->new('ZAG01'), 'new' );
11
12
ok( my $hits = $o->search( 'WTI=linux' ), 'search' );
13
diag "$hits results";
14
15
foreach ( 1 .. 3 ) {
16
17
ok( my $marc = $o->next_marc, "next_marc $_" );
18
diag $marc;
19
20
}