def METHOD_NAME(self):
    a, b, c, d, tx, ty = 1.0, 0, 0, 1.0, 0, 0
    transform1 = affine.affine_from_values(a, b, c, d, tx, ty)
    tot_transform = affine.rotate(transform1, pi / 4)
    pt1 = array([1.0, 0.0, 1.0])
    actual = dot(pt1, tot_transform)
    # this does the first transform and the translate separately
    cos_pi_4 = 0.707_106_781_186_547_57
    desired = array((cos_pi_4, cos_pi_4, 1.0))
    assert ((actual - desired) < 1e-6).all()