2
# test1and2.py - unittest program
7
class KnownValues(unittest.TestCase):
8
# f3 = open('/dat/work/py3/structures3/data_unittest/3', 'br')
10
both_list = pickle.load(f3)
12
num_lines = len(both_list)
15
# for i in range(self.num_lines):
16
# (line1, line2) = self.both_list[i]
17
for (line1, line2) in self.both_list:
18
# assert line1 == line2, 'difference in lines'
19
self.assertEqual(line1, line2)
22
if __name__ == '__main__':
23
# knownValues = KnownValues()