Lines Matching refs:assertEqual
62 self.assertEqual(name, summary.name)
63 self.assertEqual(ident, summary.ident)
64 self.assertEqual(src_file_name, summary.src_file_name)
65 self.assertEqual(first_line_number, summary.first_line_number)
78 self.assertEqual(len(func.blocks), n_blocks)
80 self.assertEqual(func.blocks[i].flag, 3 * i)
81 self.assertEqual(func.blocks[i].index, i)
106 self.assertEqual(
109 self.assertEqual(
111 self.assertEqual(func.blocks[i].entry_arcs[0].src_block.index,
113 self.assertEqual(func.blocks[i].entry_arcs[0].dst_block.index, i)
182 self.assertEqual(len(func.blocks[2].lines), 5)
183 self.assertEqual(func.blocks[2].lines, range(1, 6))
194 self.assertEqual(len(summary.functions), 2)
198 self.assertEqual(func.name, 'testFunctionName')
199 self.assertEqual(func.src_file_name, 'sample.c')
200 self.assertEqual(func.first_line_number, 35)
201 self.assertEqual(len(func.blocks), 5)
204 self.assertEqual(func.blocks[index].lines, expected)
208 self.assertEqual(func.name, 'main')
209 self.assertEqual(func.first_line_number, 5)
210 self.assertEqual(len(func.blocks), 12)
211 self.assertEqual(func.blocks[0].lines, [])
215 self.assertEqual(func.blocks[index].lines, expected)