My take on the PhpUnit at the workshop conducted by Sebastian Bergmann at PHP Conf Asia 2018.
- A city has a non-empty name
- A route connects two different cities
- A route has a color
- A route has a length
- A route is claimed with a set of train car cards that match colour and length of the route
- A gray route is claimed with a set of train car cards of the right length of any one colour
- A route is worth points based on its length...
- A train car card has a colour