diff --git a/pkg/colors/lightmap_test.go b/pkg/colors/lightmap_test.go index 9af4647cf..0a6ce6286 100644 --- a/pkg/colors/lightmap_test.go +++ b/pkg/colors/lightmap_test.go @@ -1,10 +1,18 @@ package colors import ( + "github.com/stretchr/testify/assert" "strconv" "testing" ) +func TestLightMap_Hex(t *testing.T) { + lum := []Luminance{1, 16, 2, 4, 15, 16, 1, 0, 8} + lMap := LightMap(lum) + assert.Equal(t, "11024F10108", lMap.Hex()) + +} + func TestLightMap_Diff(t *testing.T) { t.Run("random", func(t *testing.T) { lum := []Luminance{1, 16, 2, 4, 15, 16, 1, 0, 8}