def test_load_dna_unicode(self): with filled_filename(unicode_datafile) as fn: self.assertEqual(list(assignment2.load_dna(fn)), unicode_data)
def test_load_dna(self): with filled_filename(large_datafile) as fn: self.assertEqual(list(assignment2.load_dna(fn)), large_data)
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"])