Added packages for linear grayscale colour varients.

This commit is contained in:
2025-03-27 09:17:35 -04:00
parent a0c520c3ed
commit 2410cce342
24 changed files with 654 additions and 106 deletions

View File

@ -19,7 +19,7 @@ func midpoint(c0, c1 Color) Color {
}
func TestModel(t *testing.T) {
helper.TestModel(t, true, Model, eq, []helper.ConvertTest[Color]{
helper.TestModel(t, true, true, Model, eq, []helper.ConvertTest[Color]{
{
Name: "passthrough",
// These is a very illegal colour. If it makes it through
@ -32,5 +32,5 @@ func TestModel(t *testing.T) {
}
func TestDistance(t *testing.T) {
helper.TestDistance(t, true, midpoint, Distance, Model)
helper.TestDistance(t, true, true, midpoint, Distance, Model)
}