begin turkish variant of aleph
[Biblio-Z3950.git] / t / 2-AlephTR.t
diff --git a/t/2-AlephTR.t b/t/2-AlephTR.t
new file mode 100755 (executable)
index 0000000..e88ec04
--- /dev/null
@@ -0,0 +1,20 @@
+#!/usr/bin/perl
+
+use warnings;
+use strict;
+
+use Test::More tests => 6;
+
+use_ok 'Aleph';
+
+ok( my $o = Aleph->new('ZAG01'), 'new' );
+
+ok( my $hits = $o->search( 'WTI=linux' ), 'search' );
+diag "$hits results";
+
+foreach ( 1 .. 3 ) {
+
+ok( my $marc = $o->next_marc, "next_marc $_" );
+diag $marc;
+
+}