Skip to content

raj454raj/marsroverproblem

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Mars Rover Problem

How to run?

  • Open the inp file and add the complete input there.

Note: There is no limit on number of rovers(testcases for the problem)

  • Finally run the code -
$ ruby main.rb < inp

Note: If you want to pass input in STDOUT then run the code -

$ ruby main.rb

Enter the input and then press Ctrl + D for Mac and Ctrl + Z Unix

How to run tests?

  • Install required gems
$ bundle install
  • Run all the rspec tests
$ bundle exec rspec --format documentation --color

About

Standard Mars Rover Problem in Ruby

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages