Open TheSecretSquad opened 8 years ago
I unit tested a method on RobotCommands to loop through commands. Trying to stick to not writing code without tests. Is this the right thing to do?
RobotCommands
Should I have a unit test for ToyRobotSimulation that checks that enterCommands calls enterCommand?
ToyRobotSimulation
enterCommands
enterCommand
I unit tested a method on
RobotCommands
to loop through commands. Trying to stick to not writing code without tests. Is this the right thing to do?Should I have a unit test for
ToyRobotSimulation
that checks thatenterCommands
callsenterCommand
?