DieHard

In the movie Die Hard 3, the heroes must obtain exactly 4 gallons of water using a 5 gallon jug, a 3 gallon jug, and a water faucet. Our goal: to get TLC to solve the problem for us.

First, we write a spec that describes all allowable behaviors of our heroes.