(t *testing.T)
| 194 | } |
| 195 | |
| 196 | func TestRGB_Println(t *testing.T) { |
| 197 | RGBs := []pterm.RGB{{0, 0, 0, false}, {127, 127, 127, false}, {255, 255, 255, false}} |
| 198 | |
| 199 | for _, rgb := range RGBs { |
| 200 | t.Run(pterm.Sprintf("%v %v %v", rgb.R, rgb.G, rgb.B), func(t *testing.T) { |
| 201 | testPrintlnContains(t, func(w io.Writer, a any) { |
| 202 | p := rgb.Println(a) |
| 203 | testza.AssertNotNil(t, p) |
| 204 | }) |
| 205 | }) |
| 206 | } |
| 207 | } |
| 208 | |
| 209 | func TestRGB_Sprint(t *testing.T) { |
| 210 | 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…