"""
AUTO-GENERATED BY Testing Kit v1

Tests for optics morphology discovery registry.
"""
from pyparticle.optics.factory.registry import discover_morphology_types


def test_discover_morphology_types_returns_dict():
    types = discover_morphology_types()
    assert isinstance(types, dict)
    for k, v in types.items():
        # Each registered item should be callable (class or factory)
        assert callable(v)
