def METHOD_NAME(self):
    ref = (0, 0, 0)
    b1 = (10, 10, 10)  # avg 30
    b2 = (20, 20, 20)  # avg 45
    b3 = (30, 30, 30)  # avg 60
    blocks1 = [ref, ref, ref]
    blocks2 = [b1, b2, b3]
    eq_(45, my_avgdiff(blocks1, blocks2, 44))