def case_select_all_records(): fitting_data = FittingData(COLUMNS) fitting_data.unselect_all_records() fitting_data.select_record(2) fitting_data.select_record(5) fitting_data.select_all_records() return fitting_data, list(range(1, NUMBER_OF_RECORDS + 1))
def case_select_multiple_records(): fitting_data = FittingData(COLUMNS) fitting_data.unselect_all_records() fitting_data.select_record(2) fitting_data.select_record(5) fitting_data.select_record(3) fitting_data.select_record(10) return fitting_data, [2, 3, 5, 10]
def case_select_two_records(): fitting_data = FittingData(COLUMNS) fitting_data.unselect_all_records() fitting_data.select_record(2) fitting_data.select_record(5) return fitting_data, [2, 5]
def case_unselect_all(): fitting_data = FittingData(COLUMNS) fitting_data.unselect_all_records() return fitting_data, []