def METHOD_NAME():
    """Test anomaly detection with 2D input array with missing values."""
    X = np.array(
        [
            [-1.20706575, -0.57473996],
            [0.27742924, -0.54663186],
            [1.08444118, np.nan],
            [-2.3456977, -0.89003783],
            [0.42912469, -0.4771927],
            [0.50605589, -0.99838644],
        ]
    )
    y_expected = np.array([0, 0, 0, 1, 1, 1])
    scaler = MinMaxScaler()
    X = scaler.fit_transform(X)
    model = STRAY(k=2, size_threshold=4)
    fitted_model = model.fit(X)
    y_actual = fitted_model.y_
    assert np.allclose(y_actual, y_expected)