Safari Books Online is a digital library providing on-demand subscription access to thousands of learning resources.
While coming up with the requirements, it’s also a good idea to list any assumptions or restrictions about the program. This helps you know which conditions you need to test and which you can ignore. You can make four assumptions for this program:
The walls are straight.
Any opening is big enough for the TriBot to fit through.
Walls meet at right angles. This will make the turning at a corner easier.
When the program begins, the TriBot will be placed against the wall.