1 # -*-Perl-*- Test Harness script for Bioperl
2 # $Id: megafasta.t 14971 2008-10-28 16:08:52Z cjfields $
9 test_begin(-tests => 4);
11 use_ok('Bio::AlignIO::metafasta');
14 my $DEBUG = test_debug();
16 my ($str,$aln,$strout,$status);
19 #print STDERR "Better Metafasta tests needed\n" if $DEBUG;
20 my $io = Bio::AlignIO->new(-verbose => $DEBUG ? $DEBUG : -1,
21 -file => test_input_file('testaln.metafasta'));
23 isa_ok($aln,'Bio::Align::AlignI');
24 is $aln->consensus_string,'CDEFHIJKLMNOPQRSTUVWXYZ', "consensus_string on metafasta";
25 is $aln->symbol_chars,'23',"symbol_chars() using metafasta";