def test_translate_style_8(style_string, expected): """ Test translating style strings with 8 colors """ assert core.translate_style(style_string, colormode=terminal.ANSI_8_COLORS, colorpalette=core.COLOR_PALETTE) == expected
def test_translate_style_true_colors(style_string, expected): """ Test translating style strings with true colors """ assert core.translate_style(style_string, colormode=terminal.TRUE_COLORS, colorpalette=core.COLOR_PALETTE) == expected