예제 #1
0
 def test_identifies_Phenylalanine_codons(self):
     for codon in ['UUU', 'UUC']:
         self.assertEqual('Phenylalanine', of_codon(codon))
예제 #2
0
 def test_identifies_stop_codons(self):
     for codon in ['UAA', 'UAG', 'UGA']:
         self.assertEqual('STOP', of_codon(codon))
예제 #3
0
 def test_AUG_translates_to_methionine(self):
     self.assertEqual('Methionine', of_codon('AUG'))
예제 #4
0
 def test_identifies_Cysteine_codons(self):
     for codon in ['UGU', 'UGC']:
         self.assertEqual('Cysteine', of_codon(codon))
예제 #5
0
 def test_identifies_Tryptophan_codons(self):
     self.assertEqual('Tryptophan', of_codon('UGG'))
예제 #6
0
 def test_identifies_Serine_codons(self):
     for codon in ['UCU', 'UCC', 'UCA', 'UCG']:
         self.assertEqual('Serine', of_codon(codon))
예제 #7
0
 def test_identifies_Tyrosine_codons(self):
     for codon in ['UAU', 'UAC']:
         self.assertEqual('Tyrosine', of_codon(codon))
예제 #8
0
 def test_AUG_translates_to_methionine(self):
     self.assertEqual('Methionine', of_codon('AUG'))
예제 #9
0
 def test_identifies_Leucine_codons(self):
     for codon in ['UUA', 'UUG']:
         self.assertEqual('Leucine', of_codon(codon))
예제 #10
0
 def test_identifies_Tryptophan_codons(self):
     self.assertEqual('Tryptophan', of_codon('UGG'))
예제 #11
0
 def test_identifies_stop_codons(self):
     for codon in ['UAA', 'UAG', 'UGA']:
         self.assertEqual('STOP', of_codon(codon))
예제 #12
0
 def test_identifies_Cysteine_codons(self):
     for codon in ['UGU', 'UGC']:
         self.assertEqual('Cysteine', of_codon(codon))
예제 #13
0
 def test_identifies_Tyrosine_codons(self):
     for codon in ['UAU', 'UAC']:
         self.assertEqual('Tyrosine', of_codon(codon))
예제 #14
0
 def test_identifies_Serine_codons(self):
     for codon in ['UCU', 'UCC', 'UCA', 'UCG']:
         self.assertEqual('Serine', of_codon(codon))
예제 #15
0
 def test_identifies_Leucine_codons(self):
     for codon in ['UUA', 'UUG']:
         self.assertEqual('Leucine', of_codon(codon))
예제 #16
0
 def test_identifies_Phenylalanine_codons(self):
     for codon in ['UUU', 'UUC']:
         self.assertEqual('Phenylalanine', of_codon(codon))