(t *testing.T)
| 14 | } |
| 15 | |
| 16 | func TestLabelRGBASimilar(t *testing.T) { |
| 17 | rgba := Label("test2").Color() |
| 18 | expected := LabelColor{R: 3, G: 169, B: 244, A: 255} |
| 19 | |
| 20 | require.Equal(t, expected, rgba) |
| 21 | } |
| 22 | |
| 23 | func TestLabelRGBAReverse(t *testing.T) { |
| 24 | rgba := Label("tset").Color() |