support turkish translation of Aleph
[Biblio-Z3950.git] / t / 2-AlephTR.t
1 #!/usr/bin/perl
2
3 use warnings;
4 use strict;
5
6 use Test::More tests => 6;
7
8 use_ok 'AlephTR';
9
10 ok( my $o = AlephTR->new(), '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 }