def build_test_row(data, id):
    test_name = ('\\multirow{%d}{*}{t%d}' % (len(data), id))
    empty = (' ' * len(test_name))
    row = (' & %s' * 5)
    callback = (lambda : empty)
    test_gen = fill_with([test_name], callback)
    table = []
    for ((name, d), head) in zip(data, test_gen):
        current_row = (row % (name, *[str(d[key]) for key in test_data_order]))
        table.append(f'		{head}{current_row} \\ ')
    return ('\\cline{2-6}\n'.join(table) + '\\hline ')
def build_test_row(data, id):
    test_name = ('\\multirow{%d}{*}{t%d}' % (len(data), id))
    empty = (' ' * len(test_name))
    row = (' & %s' * 5)
    callback = (lambda : empty)
    test_gen = fill_with([test_name], callback)
    table = []
    for ((name, d), head) in zip(data, test_gen):
        current_row = (row % (name, *[str(d[key]) for key in test_data_order]))
        table.append(f'		{head}{current_row} \\ ')
    return ('\\cline{2-6}\n'.join(table) + '\\hline ')