1 # -*-Perl-*- Test Harness script for Bioperl
9 test_begin(-tests => 5);
11 use_ok 'Bio::SeqIO::MultiFile';
14 my $verbose = test_debug();
17 # Test multiple files, with a specified format
18 ok my $mf = Bio::SeqIO::MultiFile->new(
21 -files => [ test_input_file('multi_1.fa'), test_input_file('multi_2.fa')],
25 while (my $seq = $mf->next_seq() ) {
31 # Automatically determine format
32 ok $mf = Bio::SeqIO::MultiFile->new(
34 -files => [ test_input_file('multi_1.fa'), test_input_file('multi_2.fa')],
37 is $mf->format, 'fasta';