Skip to content

Latest commit

 

History

History
14 lines (12 loc) · 543 Bytes

File metadata and controls

14 lines (12 loc) · 543 Bytes

Learn PhpUnit

About

My take on the PhpUnit at the workshop conducted by Sebastian Bergmann at PHP Conf Asia 2018.

Rules

  • 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