Skip to content

OlegZv/mars_rover

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Minimalistic readme

Mars operation

Support python 3+

To try it out

You can either

  1. Run `python3.7 main.py" and enter the commands. For example as per spec.
5 5
1 2 N
LMLMLMLMM
  1. Run from a file `python3.7 main.py /path/to/instructions.txt" this will output the final locations as per spec.

  2. Run a docker image to run the commands

  • docker build .
  • docker -t mars_operation . && docker run -it mars_operation

To run tests

You can run test locally or add this project to TravisCI simply run (recommended to create a new virtualenv from python3.7)

pip install -r requiremnts.txt && python -m pytest --cov= src/ --capture=sys --cov-report html

will provide html report

About

Test project

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published