TheSecretSquad / toyrobotsimulator

0 stars 0 forks source link

Handy method ... #5

Open jamesladd opened 9 years ago

jamesladd commented 9 years ago

Maybe allow Simulator.run to take a command or commands. This will make the tests cleaner.

The implementation of run(command) can then call enterCommand and then run() without parameters.

TheSecretSquad commented 9 years ago

@jamesladd Will enterCommand and run stay as public methods?