Simulator Test Descriptions

STEAL State: RequestSide

Complementary Requests

Normal RequestSide sequence, teams request different sides.

Connections are in the RequestSide state
  1. Red sends requestSide 0
  2. Simulator sends onSide 0 to red connection
  3. Blue sends requestSide 1
  4. Simulator sends onSide 1 to blue connection
Both connections are open

Side Contention

Normal RequestSide sequence, both teams request same side.

Connections are in the RequestSide state
  1. Red sends requestSide 0
  2. Simulator sends onSide 0 to red connection
  3. 0.1s passes (to ensure the red request arrives first)
  4. Blue sends requestSide 0
  5. Simulator sends onSide 1 to blue connection
Both connections are open

Invalid Side Request

Red asks for an invalid side.

Connections are in the RequestSide state
  1. Red sends requestSide 2
  2. Blue sends requestSide 1
Simulator has sent an error message to, and closed, both connections