tag fourth (and hopefully last) alpha
[bioperl-live.git] / branch-1-6 / t / SeqIO / Multiple_fasta.t
blobb5b2c08b7c49387268d797fac42d8182b50be111
1 # -*-Perl-*- Test Harness script for Bioperl
2 # $Id$
4 use strict;
6 BEGIN {     
7     use lib '.';
8     use Bio::Root::Test;
9     
10     test_begin(-tests => 9);
11         
12         use_ok('Bio::SeqIO');
15 my $in = Bio::SeqIO->new(-file => test_input_file('multifa.seq') , '-format' => 'Fasta');
16 ok $in;
17 my $c=0;
18 while ( my $seq = $in->next_seq() ) {
19     ok($seq);
20     $c++;
22 is $c,6, "all sequences in the file";