MiniSumo Program

The sketch seems to be doing various things with sensors and motors. Do all of those functions work correctly?