code: def test_get_row():
      head_row = DOUBLE.get_row(widths=[3, 2, 1], level="head")
      assert head_row == "╠═══╬══╬═╣"
  
      row = ASCII.get_row(widths=[1, 2, 3], level="row")
      assert row == "|-+--+---|"
  
      foot_row = ROUNDED.get_row(widths=[2, 1, 3], level="foot")
      assert foot_row == "├──┼─┼───┤"
  
      with pytest.raises(ValueError):
          ROUNDED.get_row(widths=[1, 2, 3], level="FOO")
  
file_path: rich/tests/test_box.py
imports: import pytest
  from rich.console import ConsoleOptions, ConsoleDimensions
  from rich.box import ASCII, DOUBLE, ROUNDED, HEAVY, SQUARE
label_desc: Use image node_id 4 for calling a global function with example usage: test_get_row() without return types