import pytest
import stk

from .case_data import CaseData


@pytest.fixture(
    params=(
        lambda name: CaseData(
            molecule=stk.BuildingBlock("Cn1cnc2c1c(=O)n(C)c(=O)n2C"),
            name=name,
        ),
    )
)
def ensemble(request: pytest.FixtureRequest) -> CaseData:
    return request.param(
        f"{request.fixturename}{request.param_index}",
    )
