# Path: terminaltables/other_tables.py
# class SingleTable(WindowsTable if IS_WINDOWS else UnixTable):
#     """Cross-platform table with single-line box-drawing characters.
# 
#     :ivar iter table_data: List (empty or list of lists of strings) representing the table.
#     :ivar str title: Optional title to show within the top border of the table.
#     :ivar bool inner_column_border: Separates columns.
#     :ivar bool inner_footing_row_border: Show a border before the last row.
#     :ivar bool inner_heading_row_border: Show a border after the first row.
#     :ivar bool inner_row_border: Show a border in between every row.
#     :ivar bool outer_border: Show the top, left, right, and bottom border.
#     :ivar dict justify_columns: Horizontal justification. Keys are column indexes (int). Values are right/left/center.
#     :ivar int padding_left: Number of spaces to pad on the left side of every cell.
#     :ivar int padding_right: Number of spaces to pad on the right side of every cell.
#     """
# 
#     pass
# 
# Path: terminaltables/terminal_io.py
# IS_WINDOWS = sys.platform == 'win32'


import pytest
from terminaltables import SingleTable
from terminaltables.terminal_io import IS_WINDOWS

        '\033(0\x74\x71\x71\x71\x71\x71\x71\x71\x71\x71\x71\x71\x71\x6e\x71\x71\x71\x71\x71\x71\x71\x6e\x71\x71\x71\x71'
        '\x71\x71\x71\x71\x71\x71\x71\x75\033(B\n'

        '\033(0\x78\033(B Avocado    \033(0\x78\033(B green \033(0\x78\033(B       nut \033(0\x78\033(B\n'

        '\033(0\x78\033(B Tomato     \033(0\x78\033(B  red  \033(0\x78\033(B     fruit \033(0\x78\033(B\n'

        '\033(0\x78\033(B Lettuce    \033(0\x78\033(B green \033(0\x78\033(B vegetable \033(0\x78\033(B\n'

        '\033(0\x78\033(B Watermelon \033(0\x78\033(B green \033(0\x78\033(B           \033(0\x78\033(B\n'

        '\033(0\x74\x71\x71\x71\x71\x71\x71\x71\x71\x71\x71\x71\x71\x6e\x71\x71\x71\x71\x71\x71\x71\x6e\x71\x71\x71\x71'
        '\x71\x71\x71\x71\x71\x71\x71\x75\033(B\n'

        '\033(0\x78\033(B            \033(0\x78\033(B       \033(0\x78\033(B           \033(0\x78\033(B\n'

        '\033(0\x6d\x71\x71\x71\x71\x71\x71\x71\x71\x71\x71\x71\x71\x76\x71\x71\x71\x71\x71\x71\x71\x76\x71\x71\x71\x71'
        '\x71\x71\x71\x71\x71\x71\x71\x6a\033(B'
    )
    assert actual == expected


def test_multi_line():
    """Test multi-lined cells."""
    table_data = [
        ['Show', 'Characters'],
        ['Rugrats', 'Tommy Pickles, Chuckie Finster, Phillip DeVille, Lillian DeVille, Angelica Pickles,\nDil Pickles'],
        ['South Park', 'Stan Marsh, Kyle Broflovski, Eric Cartman, Kenny McCormick']
    ]

# Path: terminaltables/other_tables.py
# class SingleTable(WindowsTable if IS_WINDOWS else UnixTable):
#     """Cross-platform table with single-line box-drawing characters.
# 
#     :ivar iter table_data: List (empty or list of lists of strings) representing the table.
#     :ivar str title: Optional title to show within the top border of the table.
#     :ivar bool inner_column_border: Separates columns.
#     :ivar bool inner_footing_row_border: Show a border before the last row.
#     :ivar bool inner_heading_row_border: Show a border after the first row.
#     :ivar bool inner_row_border: Show a border in between every row.
#     :ivar bool outer_border: Show the top, left, right, and bottom border.
#     :ivar dict justify_columns: Horizontal justification. Keys are column indexes (int). Values are right/left/center.
#     :ivar int padding_left: Number of spaces to pad on the left side of every cell.
#     :ivar int padding_right: Number of spaces to pad on the right side of every cell.
#     """
# 
#     pass
# 
# Path: terminaltables/terminal_io.py
# IS_WINDOWS = sys.platform == 'win32'


# Path: tests/test_all_tables_e2e/test_single_table.py
import pytest
from terminaltables import SingleTable
from terminaltables.terminal_io import IS_WINDOWS


        '\033(0\x74\x71\x71\x71\x71\x71\x71\x71\x71\x71\x71\x71\x71\x6e\x71\x71\x71\x71\x71\x71\x71\x6e\x71\x71\x71\x71'
        '\x71\x71\x71\x71\x71\x71\x71\x75\033(B\n'

        '\033(0\x78\033(B Avocado    \033(0\x78\033(B green \033(0\x78\033(B       nut \033(0\x78\033(B\n'

        '\033(0\x78\033(B Tomato     \033(0\x78\033(B  red  \033(0\x78\033(B     fruit \033(0\x78\033(B\n'

        '\033(0\x78\033(B Lettuce    \033(0\x78\033(B green \033(0\x78\033(B vegetable \033(0\x78\033(B\n'

        '\033(0\x78\033(B Watermelon \033(0\x78\033(B green \033(0\x78\033(B           \033(0\x78\033(B\n'

        '\033(0\x74\x71\x71\x71\x71\x71\x71\x71\x71\x71\x71\x71\x71\x6e\x71\x71\x71\x71\x71\x71\x71\x6e\x71\x71\x71\x71'
        '\x71\x71\x71\x71\x71\x71\x71\x75\033(B\n'

        '\033(0\x78\033(B            \033(0\x78\033(B       \033(0\x78\033(B           \033(0\x78\033(B\n'

        '\033(0\x6d\x71\x71\x71\x71\x71\x71\x71\x71\x71\x71\x71\x71\x76\x71\x71\x71\x71\x71\x71\x71\x76\x71\x71\x71\x71'
        '\x71\x71\x71\x71\x71\x71\x71\x6a\033(B'
    )
    assert actual == expected


def test_multi_line():
    """Test multi-lined cells."""
    table_data = [
        ['Show', 'Characters'],
        ['Rugrats', 'Tommy Pickles, Chuckie Finster, Phillip DeVille, Lillian DeVille, Angelica Pickles,\nDil Pickles'],
        ['South Park', 'Stan Marsh, Kyle Broflovski, Eric Cartman, Kenny McCormick']
    ]

    table = SingleTable(table_data)