Beispiel #1
0
 def test_count_characters_search_for_not_Strings(self):
     with self.assertRaises(TypeError) as cm:
         bio = Bioinfo(test_fasta_dna)
         bio.count_characters(1,2,3,4)
     self.assertEqual(type(cm.exception), TypeError)
Beispiel #2
0
 def test_count_characters_search_for_Strings(self):
     bio = Bioinfo(test_fasta_dna)
     self.assertTrue(bio.count_characters("A", "T", "G", "C", "AAA"))