def test_actual_results_lower_bound_yi(X_train, X_test, arr_desired):
    """Test that the actual results are the expected ones."""
    arr_actual = lower_bound_yi(X_train, X_test)
    np.testing.assert_allclose(arr_actual, arr_desired, atol=1e-5, rtol=0)
Test that the actual results are the expected ones.
pyts/metrics/tests/test_lower_bounds.py