# Toy Robot Simulator

## Description

A simulation of a toy robot moving on a square tabletop, of dimensions 5 units x 5 units.

## Installation

Install

    $ cd toy_robot
    $ bundle install

Run

- Input commands manually on command line:

    $ bin/toy_robot

- Input commands through a file

    $ bin/toy_robot -f [filename]

Run tests:

    $ rspec spec/

Check test coverage (after running rspec):

    $ open coverage/index.html

## Issues

- Couldn't figure out how to write tests simulating manual command input (using STDIN), therefore test coverage stays at 99.43% for now.

## Copyright

Copyright (c) 2012 Paul Fioravanti

See {file:LICENSE.txt} for details.
# Toy Robot Simulator

## Description

A simulation of a toy robot moving on a square tabletop, of dimensions 5 units x 5 units.

## Installation

Install

    $ cd toy_robot
    $ bundle install

Run

- Input commands manually on command line:

    $ bin/toy_robot

- Input commands through a file

    $ bin/toy_robot -f [filename]

Run tests:

    $ rspec spec/

Check test coverage (after running rspec):

    $ open coverage/index.html

## Issues

- Couldn't figure out how to write tests simulating manual command input (using STDIN), and started a question on StackOverflow about it [here](http://stackoverflow.com/q/12673485/567863).  So, test coverage stays at 99.43% for now.

## Copyright

Copyright (c) 2012 Paul Fioravanti

See {file:LICENSE.txt} for details.
Add reference to StackOverflow question
Add reference to StackOverflow question
