This code was a take home test for a company
The tennis_game uses:
Recommended:
Clone the repository
git clone [email protected]:fawadabbasi/tennis_game.git
or
git clone https://github.com/fawadabbasi/tennis_game.git
Install all the dependencies using composer
composer install
src
- contains the TennisGame interface and three TennisGame classes, which need improving (see top level readme for more information)tests
- contains the three corresponding TennisGameTests, one for each class. All the tests are passing, and shouldn't need to be changed.
PHPUnit is pre-configured to run tests. PHPUnit can be run using a composer script. To run the unit tests,
composer test