def test_reduce_by_funcs(): e = summary(number=t.id.max(), sum=t.amount.sum()) b = by(t, e) assert reduce_by_funcs(b)[2]([1,2,3], [4,5,6]) == (1, 7)
def test_reduce_by_funcs(): e = summary(number=t.id.max(), sum=t.amount.sum()) b = by(t, e) assert reduce_by_funcs(b)[2]([1, 2, 3], [4, 5, 6]) == (1, 7)