def METHOD_NAME(self):
    """Test that noise generation works."""
    sigma = 0.01
    box, points = freud.data.UnitCell.fcc().generate_system(
        sigma_noise=sigma, seed=0
    )
    assert box == freud.box.Box.cube(1)
    test_points = np.array(
        [[0, 0, -0.5], [0, -0.5, 0], [-0.5, 0, 0], [-0.5, -0.5, -0.5]]
    )
    deltas = np.linalg.norm(box.wrap(test_points - points), axis=-1)
    # Nothing should be exactly equal, but differences should not be too
    # large. 4 sigma is an arbitrary choice that gives a high probability
    # of the test passing (although not necessary since the seed is set
    # above).
    assert not np.allclose(deltas, 0)
    npt.assert_allclose(deltas, 0, atol=4 * sigma)