danielvallecl / mars_rover

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

NASA Mars Rover Challenge

To run the app from the command line navigate to the root directory and type:

ruby mars_hover.rb "mars_input.txt"

This will run the app and load an external test file called "mars_input.txt" with directions in the format provided. There is an additional test file called "text.txt" that tests for the boundaries of the plateau.

To run the Rspec tests, at the same root directory run:

rspec spec/spec_mars_rover.rb

Developed by Daniel Valle in Toronto on October 23rd, 2018.

About


Languages

Language:Ruby 100.0%