def test_make_underline_if_not_using_ansi(): assert Table.make_underline([2, 2, 2], use_ansi=False) == "|------|------|------|"
def test_make_underline_with_custom_separator(): assert Table.make_underline([2, 2, 2], use_ansi=False, separator="+") == "+------+------+------+"
def test_make_underline_if_using_ansi(): assert Table.make_underline( [2, 2, 2]) == "\x1b[0;37m|------|------|------|\x1b[0m"