def test_identifies_Phenylalanine_codons(self): for codon in ['UUU', 'UUC']: self.assertEqual('Phenylalanine', of_codon(codon))
def test_identifies_stop_codons(self): for codon in ['UAA', 'UAG', 'UGA']: self.assertEqual('STOP', of_codon(codon))
def test_AUG_translates_to_methionine(self): self.assertEqual('Methionine', of_codon('AUG'))
def test_identifies_Cysteine_codons(self): for codon in ['UGU', 'UGC']: self.assertEqual('Cysteine', of_codon(codon))
def test_identifies_Tryptophan_codons(self): self.assertEqual('Tryptophan', of_codon('UGG'))
def test_identifies_Serine_codons(self): for codon in ['UCU', 'UCC', 'UCA', 'UCG']: self.assertEqual('Serine', of_codon(codon))
def test_identifies_Tyrosine_codons(self): for codon in ['UAU', 'UAC']: self.assertEqual('Tyrosine', of_codon(codon))
def test_identifies_Leucine_codons(self): for codon in ['UUA', 'UUG']: self.assertEqual('Leucine', of_codon(codon))