def METHOD_NAME(datatype, method):
    # dataset generation
    data, target = make_blobs(n_samples=800, centers=400, n_features=3000)
    # conversion to input_type
    data = data.astype(datatype)
    target = target.astype(datatype)
    # creation of model
    if method == "gaussian":
        model = GaussianRandomProjection(eps=0.2)
    else:
        model = SparseRandomProjection(eps=0.2)
    # fitting the model
    model.fit(data)
    assert True  # Did not crash