I got my hands on a copy of The Ray Tracer Challenge and thought I'd give it a go in Scala. This is that attempt.
The tests in this project are written as BDD tests. Yeah I know - that seems a bit strange - they might be better as TDD. But that's how they're presented in the book. The goal here is to practice Scala, so I'll leave them as-is as the path of least friction.
To run them:
sbt test
sbt compile
sbt scalafmt
- formats just files insrc
sbt scalafmtAll
- formats all.scala
filessbt scalafmtCheck
- checks just files insrc
filessbt scalafmtCheckAll
- checks all.scala
files