Add TestPattern to validate generic implementation. Make Material.color use Pattern.
The Ray Tracer Challenge: A Test-Driven Guide to Your First 3D Renderer
This is a rust implementation of https://pragprog.com/titles/jbtracer/the-ray-tracer-challenge/
It attempts to be a test-driven developed ray tracer.