Пример #1
0
 def test_load_dna_unicode(self):
     with filled_filename(unicode_datafile) as fn:
         self.assertEqual(list(assignment2.load_dna(fn)), unicode_data)
Пример #2
0
 def test_load_dna(self):
     with filled_filename(large_datafile) as fn:
         self.assertEqual(list(assignment2.load_dna(fn)), large_data)
Пример #3
0
 def test_load_dna(self):
     with filled_filename(large_datafile) as fn:
         self.assertEqual(list(assignment2.load_dna(fn)), large_data)
Пример #4
0
 def test_load_dna_simple(self):
     with filled_filename("ATGAGCAATAGC") as fn:
         self.assertEqual(list(assignment2.load_dna(fn)), ["A","T","G","A","G","C","A","A","T","A","G","C"])
Пример #5
0
 def test_load_dna_simple(self):
     with filled_filename("ATGAGCAATAGC") as fn:
         self.assertEqual(list(assignment2.load_dna(fn)), ["A","T","G","A","G","C","A","A","T","A","G","C"])