You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
17 lines
256 B
17 lines
256 B
package huecolor_test
|
|
|
|
import (
|
|
"testing"
|
|
|
|
"git.aiterp.net/lucifer/lucifer/internal/huecolor"
|
|
)
|
|
|
|
func TestGamut(t *testing.T) {
|
|
if !huecolor.DefaultGamut.Contains(0.1, 0.1) {
|
|
t.Error(1)
|
|
}
|
|
|
|
if huecolor.DefaultGamut.Contains(0, 0) {
|
|
t.Error(2)
|
|
}
|
|
}
|