(t *testing.T)
| 219 | } |
| 220 | |
| 221 | func TestRGB_Sprintf(t *testing.T) { |
| 222 | RGBs := []pterm.RGB{{0, 0, 0, false}, {127, 127, 127, false}, {255, 255, 255, false}} |
| 223 | |
| 224 | for _, rgb := range RGBs { |
| 225 | t.Run("", func(t *testing.T) { |
| 226 | testSprintfContains(t, func(format string, a any) string { |
| 227 | return rgb.Sprintf(format, a) |
| 228 | }) |
| 229 | }) |
| 230 | } |
| 231 | } |
| 232 | |
| 233 | func TestRGB_Sprintfln(t *testing.T) { |
| 234 | RGBs := []pterm.RGB{{0, 0, 0, false}, {127, 127, 127, false}, {255, 255, 255, false}} |
nothing calls this directly
no test coverage detected
searching dependent graphs…