def test_array_conversion(X, arr_desired):
    """Test the array conversion static method."""
    arr_actual = MultivariateTransformer._convert_to_array(X)
    np.testing.assert_allclose(arr_actual, arr_desired, atol=1e-5, rtol=0.)
Test the array conversion static method.
pyts/multivariate/transformation/tests/test_multivariate.py