bulletproof test; remote tabular BLAST is failing for some reason...
[bioperl-live.git] / t / metafasta.t
blobf787bbbf16d706179da60d7b3b9633cfb5ae10a3
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 => 4);
11         
12         use_ok('Bio::SeqIO');
15 my $verbose = test_debug();
17 my $io = Bio::SeqIO->new(-format => 'metafasta',
18                                                                  -verbose => $verbose,
19                                                                  -file => test_input_file('test.metafasta'));
21 ok(my $seq = $io->next_seq);
22 is($seq->seq, "ABCDEFHIJKLMNOPQRSTUVWXYZ");
23 is($seq->display_id,'test');