Added packages for linear grayscale colour varients.
This commit is contained in:
		| @ -19,7 +19,7 @@ func midpoint(c0, c1 Color) Color { | ||||
| } | ||||
|  | ||||
| func TestModel(t *testing.T) { | ||||
| 	helper.TestModel(t, false, Model, eq, []helper.ConvertTest[Color]{ | ||||
| 	helper.TestModel(t, true, false, Model, eq, []helper.ConvertTest[Color]{ | ||||
| 		{ | ||||
| 			Name: "passthrough", | ||||
| 			In:   Color{math.Inf(1), math.Inf(-1), math.NaN()}, | ||||
| @ -29,5 +29,5 @@ func TestModel(t *testing.T) { | ||||
| } | ||||
|  | ||||
| func TestDistance(t *testing.T) { | ||||
| 	helper.TestDistance(t, false, midpoint, Distance, Model) | ||||
| 	helper.TestDistance(t, true, false, midpoint, Distance, Model) | ||||
| } | ||||
|  | ||||
		Reference in New Issue
	
	Block a user