photoprism/pkg/colors/luminance_test.go
2020-04-28 16:00:42 +02:00

11 lines
172 B
Go

package colors
import (
"github.com/stretchr/testify/assert"
"testing"
)
func TestLuminance_Hex(t *testing.T) {
lum := Luminance(1)
assert.Equal(t, "1", lum.Hex())
}