import pytest
import tkinter as tk
from target_simulator.gui.radar_config_window import RadarConfigWindow


def test_radar_config_window_init():
    root = tk.Tk()
    win = RadarConfigWindow(root, current_scan_limit=100, current_max_range=200)
    assert win is not None
    root.destroy()
