diff --git a/tests/test_palette.py b/tests/test_palette.py new file mode 100644 index 00000000..7a11f4ee --- /dev/null +++ b/tests/test_palette.py @@ -0,0 +1,8 @@ +from rich._palettes import STANDARD_PALETTE +from rich.table import Table + + +def test_rich_cast(): + table = STANDARD_PALETTE.__rich__() + assert isinstance(table, Table) + assert table.row_count == 16 \ No newline at end of file