MCPcopy Create free account
hub / github.com/MiniMax-AI/Mini-Agent / test_right_align

Method test_right_align

tests/test_terminal_utils.py:123–127  ·  view source on GitHub ↗

Test right alignment.

(self)

Source from the content-addressed store, hash-verified

121 assert len(result) == 10
122
123 def test_right_align(self):
124 """Test right alignment."""
125 result = pad_to_width("Hello", 10, align="right")
126 assert result == " Hello"
127 assert len(result) == 10
128
129 def test_center_align(self):
130 """Test center alignment."""

Callers

nothing calls this directly

Calls 1

pad_to_widthFunction · 0.90

Tested by

no test coverage detected