# language: en

Feature: robot R1
    Robot R1 má na starosti kompletaci skládání Chassi. Robot postupně sbírá kostičky potřebné ke kompletaci.
Background:
  Given (lineOn) && (storageCount == 0)

Scenario: When shuttle XY is in the station ZX, then robot R1 picks up cube one.
  When shuttleXYAtStationZX
  Then robotR1ProgramNumber == 2

Scenario: As soon as robot R1 picks up cube one, then robot R1 puts cube 1 on the shuttle XY on position one.
  When robotR1ProgramNumber == 2
  Then robotR1ProgramNumber == 6

Scenario: As soon as robot R1 puts cube 1 on the shuttle XY on position 1, then robot R1 picks up cube two
  When robotR1ProgramNumber == 6
  Then robotR1ProgramNumber == 7

Scenario: As soon as robot R1 picks up cube two, then robot R1 puts cube 2 on the shuttle XY on position two.
  When robotR1ProgramNumber == 7
  Then robotR1ProgramNumber == 8

Scenario: As soon as robot R1 puts cube 2 on the shuttle XY on position two, then robot picks up cube three
  When robotR1ProgramNumber == 8
  Then robotR1ProgramNumber == 9

Scenario: As soon as robot R1 picks up cube three, then robot R1 puts cube 3 on the shuttle XY on position three.
  When robotR1ProgramNumber == 9
  Then robotR1ProgramNumber == 10