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, 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) | ||||
| } | ||||
|  | ||||
		Reference in New Issue
	
	Block a user