import importlib


def test_import_individual_extensions():
    # Ensure compiled modules are loadable and expose expected symbols
    base = importlib.import_module("py_ballisticcalc_exts.traj_data")
    assert hasattr(base, "CythonizedBaseTrajSeq")

    euler = importlib.import_module("py_ballisticcalc_exts.euler_engine")
    assert hasattr(euler, "CythonizedEulerIntegrationEngine")

    rk4 = importlib.import_module("py_ballisticcalc_exts.rk4_engine")
    assert hasattr(rk4, "CythonizedRK4IntegrationEngine")
