Skip to content

Latest commit

 

History

History
35 lines (23 loc) · 725 Bytes

README.md

File metadata and controls

35 lines (23 loc) · 725 Bytes

Gojek submission

Submission for Parking lot problem.

Instructions to run

To run the interactive mode (CLI), simply ignore the tests/test_input.txt argument in the following commands.

Running through shell script (Recommended)

$ bin/setup
$ bin/parking_lot tests/test_input.txt

To run functaionl spec,

$ bin/run_functional_tests

Note: The shell scripts fallback to Docker, if Python version 3.7+ is not detected in the system.

Running directly using Python (Requires Python 3.7+)

$ python src/main.py tests/test_input.txt

Running using Docker

$ docker build -t gojek-submission-satwik .
$ docker run -it gojek-submission-satwik tests/test_input.txt