def METHOD_NAME(self):
    a, b, c, d, tx, ty = 1, 2, 3, 4, 5, 6
    transform1 = affine.affine_from_values(a, b, c, d, tx, ty)
    translate_transform = array([[0, 0, 0], [0, 0, 0], [0.5, 1.5, 1]])
    tot_transform = affine.translate(transform1, 0.5, 1.5)
    pt1 = array([1.0, -1.0, 1.0])
    actual = dot(pt1, tot_transform)
    # this does the first transform and the translate separately
    desired = dot(dot(pt1, translate_transform), transform1)
    assert ((actual - desired) < 1e-6).all()