def _test_calculate_T():
    nn = [4, 10, 5]
    yy = [2, 8, 0]
    correct = 10.5

    calc = sum([_variant_T_term(0.5, n, y) for n, y in zip(nn, yy)])
    assert correct == calc
dataset/ETHPy150Open arq5x/gemini/gemini/tool_burden_tests.py/_test_calculate_T/original