diff --git a/pkg/colors/luminance_test.go b/pkg/colors/luminance_test.go new file mode 100644 index 000000000..b7409ad65 --- /dev/null +++ b/pkg/colors/luminance_test.go @@ -0,0 +1,12 @@ +package colors + +import ( + "github.com/stretchr/testify/assert" + "testing" +) + +func TestLuminance_Hex(t *testing.T) { + lum := Luminance(1) + assert.Equal(t, "1", lum.Hex()) + +}