def test_inner_jittered_similarity():
    N = 40
    ds, dtheta, dx, dy= .05, .05, 1, 1
    Jitters = [[(np.random.random() * 2 - 1) * ds + 1,
                (np.random.random() * 2 - 1) * dtheta,
                (np.random.random() * 2 - 1) * dx,
                (np.random.random() * 2 - 1) * dy]
               for _ in range(N)]
    inner_jittered([SimilarityTransform(paramv=jitter) for jitter in Jitters])