Requirements
PHP 7.4
Installation
composer install
How to Use
navigate inside the project and run the below command
php robot.php clean --floor=carpet --area=70
php robot.php clean --floor=hard --area=60
The --floor parameter can have one of the values hard or carpet.
Tests
You can run PPHUnit tests by running the below command
./vendor/bin/phpunit tests