Sample code to determine if car can roll based on the 'Peak and Plate' (Pico y placa) system.
How to test
- Install php from ver 7.1 up to 7.3:
$ apt-get install php 7.1
- (once inside the project folder) On your favorite command window run:
$ composer install
- To run tests try the next command:
$ ./vendor/bin/phpunit tests/
Feel free to comment and give any advice on how to improve my code!