func Test_Black_1(t *testing.T) { expected := "\x1b[30mpolru\x1b[39;49m" actual := Color.Black("polru", true) if actual != expected { t.Errorf("Test failed, expected: '%s', got: '%s'", expected, actual) } }
func Test_Black_2(t *testing.T) { expected := "polru" actual := Color.Black("polru", false) if actual != expected { t.Errorf("Test failed, expected: '%s', got: '%s'", expected, actual) } }