small pod fix
[bioperl-live.git] / t / MultiFile.t
blob9031d97cc8fbb92196ff6e8f33a74ecfb8244c1f
1 # -*-Perl-*- Test Harness script for Bioperl
2 # $Id$
4 use strict;
6 BEGIN {
7         use lib 't/lib';
8     use BioperlTest;
9     
10     test_begin(-tests => 3);
11                 
12         use_ok('Bio::SeqIO::MultiFile');
15 my $verbose = test_debug();
17 my $mf = Bio::SeqIO::MultiFile->new(-format => 'Fasta' ,
18                                                                                                 -verbose => $verbose,
19                                                                                                 -files =>
20                                                                                                 [ test_input_file('multi_1.fa'),
21                                                                                                   test_input_file('multi_2.fa')]);
22 ok defined $mf;
23 my $count = 0;
24 eval {
25         while (my $seq = $mf->next_seq() ) {
26                 $count++;
27         }
29 is( $count,12 );