import pytest
import tkinter as tk
from target_simulator.gui.add_target_window import AddTargetWindow


def test_add_target_window_init():
    root = tk.Tk()
    win = AddTargetWindow(root, existing_ids=[])
    assert win is not None
    root.destroy()
