Join me at 5 PM ET on my Twitch channel!
Like all Exercism exercises, this one comes with a prewritten set of tests to guide us. But this time the tests aren't written in the Test-Driven Development style I prefer. We'll look at the tests to see how they aren't enough to fully specify the behavior we want. It's hard to do so when random values are involved! So we'll look at ways we can think about splitting up what is under test and what is not. Along the way we'll uncover an abstraction that will make our tests easier to understand.