Skip to content

jaimem88/robots_ruby

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Implementation of the Toy Robot Problem

Unit testing

Used rpsec TDD/BDD testing framework http://rspec.info/ To install:

sudo gem install rspec

Running tests

Create tests under spec folder then run command

rspec spec

Running the program

ruby run.rb [input file]

Check file tests.txt to see the structure ofr tests. First line has to be the size of board, a number between 1 and 10.

Exit at anytime by typing

exit

About

Ruby implementation of the toy-robot problem

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages