code: def test_align_bottom():
      lines = [[Segment("X")]]
      assert Segment.align_bottom(lines, 3, 1, Style()) == lines
      assert Segment.align_bottom(lines, 3, 3, Style()) == [
          [Segment("   ", Style())],
          [Segment("   ", Style())],
          [Segment("X")],
      ]
  
imports: from io import StringIO
  import pytest
  from rich.segment import ControlType, Segment, SegmentLines, Segments
  from rich.style import Style
label_desc: Use image node_id 26 for calling a global function with example usage: test_align_bottom() without return types