code: def test_fixed_width():
      console = Console(
          file=io.StringIO(), width=50, legacy_windows=False
      )
      panel = Panel("Hello World", width=20)
      min_width, max_width = panel.__rich_measure__(
          console, console.options
      )
      assert min_width == 20
      assert max_width == 20
  
file_path: rich/tests/test_panel.py
imports: import io
  import pytest
  from rich.console import Console
  from rich.panel import Panel
  from rich.segment import Segment
  from rich.style import Style
label_desc: Use image node_id 4 for calling a global function with example usage: test_fixed_width() without return types