Skip to content

Commit

Permalink
CodonTable.t: increase number of expected codon tables since we now more
Browse files Browse the repository at this point in the history
  • Loading branch information
carandraug committed Apr 23, 2024
1 parent 91a2365 commit 66ccbe8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions t/SeqTools/CodonTable.t
Original file line number Diff line number Diff line change
Expand Up @@ -40,12 +40,12 @@ is $myCodonTable->name(), 'Euplotid Nuclear';

# enumerate tables as object method
my $table = $myCodonTable->tables();
cmp_ok (keys %{$table}, '>=', 19); # currently 19 known tables
cmp_ok (keys %{$table}, '>=', 26); # currently 25 known tables + "strict"
is $table->{11}, 'Bacterial, Archaeal and Plant Plastid';

# enumerate tables as class method
$table = Bio::Tools::CodonTable->tables;
cmp_ok (values %{$table}, '>=', 19); # currently 19 known tables
cmp_ok (values %{$table}, '>=', 26); # currently 25 known tables + "strict"
is $table->{23}, 'Thraustochytrium Mitochondrial';

# translate codons
Expand Down

0 comments on commit 66ccbe8

Please sign in to comment.