Ejemplo n.º 1
0
 def testNonDNA2(self):
     self.assertEqual(
         hw.transcribe('cs5'), '',
         "How are you dealing with characters that aren't A, C, T, or G?")
Ejemplo n.º 2
0
 def testGATTACA2(self):
     self.assertEqual(hw.transcribe('GATTACA'), 'CUAAUGU')
Ejemplo n.º 3
0
 def testACGT_TGCA(self):
     self.assertEqual(
         hw.transcribe('ACGT TGCA'), 'UGCAACGU',
         "How are you dealing with characters that aren't A, C, T, or G?")
Ejemplo n.º 4
0
 def testNonDNA2(self):
     self.assertEqual(hw.transcribe('cs5'), '', "How are you dealing with characters that aren't A, C, T, or G?")
Ejemplo n.º 5
0
 def testGATTACA2(self):
     self.assertEqual(hw.transcribe('GATTACA'), 'CUAAUGU')
Ejemplo n.º 6
0
 def testACGT_TGCA(self):
     self.assertEqual(hw.transcribe('ACGT TGCA'), 'UGCAACGU', "How are you dealing with characters that aren't A, C, T, or G?")