Esempio n. 1
0
 def testORFadviser6(self):
     self.assertEqual(hw.ORFadviser("ATGCCCGGGTAA"), 'This is an ORF.')
Esempio n. 2
0
 def testORFadviser3(self):
     self.assertEqual(hw.ORFadviser("ATGCCCTAC"),
                      'The last three bases are not a stop codon.')
Esempio n. 3
0
 def testORFadviser5(self):
     self.assertEqual(hw.ORFadviser("ATGCCCGGTAA"),
                      'The string is not of the correct length.')
Esempio n. 4
0
 def testORFadviser1(self):
     self.assertEqual(hw.ORFadviser("CCC"),
                      'The first three bases are not ATG.')