# Path: pandas_gbq/features.py
# FEATURES = Features()


import pytest
    import google.cloud.bigquery
    import google.cloud.bigquery
    import google.cloud.bigquery
    import google.cloud.bigquery
    import pandas
from pandas_gbq.features import FEATURES
    ["bigquery_version", "expected"],
    [
        ("1.27.2", False),
        ("1.99.100", False),
        ("2.9.999", False),
        ("2.10.0", True),
        ("2.12.0", True),
        ("3.0.0", True),
    ],
)
def test_bigquery_has_bignumeric(monkeypatch, bigquery_version, expected):

    monkeypatch.setattr(google.cloud.bigquery, "__version__", bigquery_version)
    assert FEATURES.bigquery_has_bignumeric == expected


@pytest.mark.parametrize(
    ["bigquery_version", "expected"],
    [
        ("1.27.2", False),
        ("1.99.100", False),
        ("2.5.4", False),
        ("2.6.0", True),
        ("2.6.1", True),
        ("2.12.0", True),
    ],
)
def test_bigquery_has_from_dataframe_with_csv(monkeypatch, bigquery_version, expected):

    monkeypatch.setattr(google.cloud.bigquery, "__version__", bigquery_version)

# Path: pandas_gbq/features.py
# FEATURES = Features()


# Path: tests/unit/test_features.py
import pytest
    import google.cloud.bigquery
    import google.cloud.bigquery
    import google.cloud.bigquery
    import google.cloud.bigquery
    import pandas
from pandas_gbq.features import FEATURES

    ["bigquery_version", "expected"],
    [
        ("1.27.2", False),
        ("1.99.100", False),
        ("2.9.999", False),
        ("2.10.0", True),
        ("2.12.0", True),
        ("3.0.0", True),
    ],
)
def test_bigquery_has_bignumeric(monkeypatch, bigquery_version, expected):

    monkeypatch.setattr(google.cloud.bigquery, "__version__", bigquery_version)
    assert FEATURES.bigquery_has_bignumeric == expected


@pytest.mark.parametrize(
    ["bigquery_version", "expected"],
    [
        ("1.27.2", False),
        ("1.99.100", False),
        ("2.5.4", False),
        ("2.6.0", True),
        ("2.6.1", True),
        ("2.12.0", True),
    ],
)
def test_bigquery_has_from_dataframe_with_csv(monkeypatch, bigquery_version, expected):

    monkeypatch.setattr(google.cloud.bigquery, "__version__", bigquery_version)

    assert FEATURES.bigquery_has_from_dataframe_with_csv == expected