"""Emit topology.png (device-level + cube-level reduction). Pure plotting; no sim."""
from __future__ import annotations

from pathlib import Path

from tests.sccl._allreduce_helpers import emit_topology_diagram


def test_emit_topology_diagram():
    out = emit_topology_diagram()
    assert Path(out).exists()
