"""Tier-0 smoke — sub-second build-broken signal.

The existing tier-0 test (`test_self_check.py`) spawns a full pytest
subprocess and takes ~30s, which is at odds with the tier-0 "<1s" intent
(see PAPER-95). This adds a genuinely fast tier-0: the package imports and
the pure tier helpers work. If this fails, the wheel is broken.
"""

from __future__ import annotations

import pytest

pytestmark = pytest.mark.smoke


def test_core_modules_import() -> None:
    from mgf.test_supervisor import (  # noqa: F401
        diagnostics,
        durations,
        quarantine,
        records,
        selection,
        supervisor,
        tiers,
    )


def test_parse_tier_range_basic() -> None:
    from mgf.test_supervisor.tiers import parse_tier_range

    assert parse_tier_range("0") == {0}
    assert parse_tier_range("0-3") == {0, 1, 2, 3}
