def test_actual_results_warping_envelope(X, region,
                                         lower_desired, upper_desired):
    """Test that the actual results are the expected ones."""
    lower_actual, upper_actual = _warping_envelope(X, region)
    np.testing.assert_array_equal(lower_actual, lower_desired)
    np.testing.assert_array_equal(upper_actual, upper_desired)
Test that the actual results are the expected ones.
pyts/metrics/tests/test_lower_bounds.py