(t *testing.T)
| 7 | ) |
| 8 | |
| 9 | func TestLabelRGBA(t *testing.T) { |
| 10 | rgba := Label("test1").Color() |
| 11 | expected := LabelColor{R: 0, G: 150, B: 136, A: 255} |
| 12 | |
| 13 | require.Equal(t, expected, rgba) |
| 14 | } |
| 15 | |
| 16 | func TestLabelRGBASimilar(t *testing.T) { |
| 17 | rgba := Label("test2").Color() |