def test_set_special_alpha(self): """> Create special escape sequence with alpha.""" util.Color.alpha_num = 99 result = sequences.set_special(11, COLORS["special"]["background"]) if platform.uname()[0] == "Darwin": self.assertEqual(result, "\033]Ph1F211E\033\\") else: self.assertEqual(result, "\033]11;[99]#1F211E\007")
def test_set_special(self): """> Create special escape sequence.""" alpha = "100" result = sequences.set_special(11, COLORS["special"]["background"], "h", alpha) if platform.uname()[0] == "Darwin": self.assertEqual(result, "\033]Ph1F211E\033\\") else: self.assertEqual(result, "\033]11;#1F211E\033\\")
def test_set_special_alpha(self): """> Create special escape sequence with alpha.""" util.Color.alpha_num = 99 result = sequences.set_special(11, COLORS["special"]["background"]) self.assertEqual(result, "\033]11;[99]#1F211E\007")
def test_set_special(self): """> Create special escape sequence.""" result = sequences.set_special(11, COLORS["special"]["background"]) self.assertEqual(result, "\x1b]11;#3A5130\x07")
def test_set_special(self): """> Create special escape sequence.""" result = sequences.set_special(11, COLORS["special"]["background"]) self.assertEqual(result, "\033]11;#1F211E\007")