def _testStringsFromFile(self):
values = [
'It was the summer of 95 (so what!)',
'In the backyard, shaving the old plies',
'Feeling so strong (strong!), something went wrong (wrong!)',
'Straight into my finger, what a stinger, it was so long',
'I still remember that day, like the day that I said that I swear',
'"I\'ll never hurt myself again", but it seems that I\'m deemed to be wrong',
'To be wrong, to be wrong',
'Gotta keep holding on...they always played a slow song.',
]
filename = './kitty_strings.txt'
with open(filename, 'wb') as f:
f.write('\n'.join(values))
uut = String(name=self.uut_name, value='streetlight')
all_mutations = self.get_all_mutations(uut)
for value in values:
self.assertIn(Bits(bytes=value), all_mutations)
os.remove(filename)
评论列表
文章目录