def METHOD_NAME(self):
    checksum_label = ChecksumLabel("checksum_label", 50, 100, 0, FieldType("crc", FieldType.Function.CHECKSUM))
    crc_widget_controller = ChecksumWidget(checksum_label, Message([0] * 100, 0, MessageType("test")), 0)
    model = crc_widget_controller.data_range_table_model
    self.assertEqual(model.data(model.index(0, 0)), 1)
    self.assertEqual(model.data(model.index(0, 1)), 50)
    self.assertEqual(model.rowCount(), 1)
    crc_widget_controller.ui.btnAddRange.click()
    self.assertEqual(model.rowCount(), 2)
    crc_widget_controller.ui.btnAddRange.click()
    self.assertEqual(model.rowCount(), 3)
    crc_widget_controller.ui.btnRemoveRange.click()
    self.assertEqual(model.rowCount(), 2)
    crc_widget_controller.ui.btnRemoveRange.click()
    self.assertEqual(model.rowCount(), 1)
    crc_widget_controller.ui.btnRemoveRange.click()
    self.assertEqual(model.rowCount(), 1)