def test_random_shear(): prng = np.random.RandomState(0) for i in range(100): assert_is_shear(random_shear(-pi, pi, prng))