Ops Manager Learn 4: Turn a Corner

6. Code Coverage

          • Move your robot around to make it generate all possible response messages in your notebook.

If needed, you can refer back to the TEST section above where we provided you with an image that demonstrated the full range of responses from the position() function.

Does the robot respond as you would expect it to in every case? If not, check your code, amend as necessary and repeat the test.

We recommend that you observe the robot’s response over a white area last as the code will finish whenever it loses the line (position() = “white”).