# language: en

Feature: Montrac
     Montrac je dopravníkový systém s několika samostatnými vozíčky. Tyto vozíčky přepravují částečně zkompletované výrobky mezi několika stanicemi.
Background:
  Given lineOn

Scenario: as soon as station XZX is free, then shuttle XY goes to station XZX
  When stationXZXFree
  Then shuttleXYDestination == XZX
Scenario: As soon as robot R1 picks up cube 1, then robot R1 puts cube 1 on shuttle XY on position 1
  When robotR1ProgramNumber == 9
  Then robotR1ProgramNumber == 10
Scenario: When station XXX is free, then shuttle X goes to station XXX
  When stationXXXFree
  Then shuttleXDestination == XXX
Scenario: When station XZZ is free, then shuttle Y goes to station XZZ
  When stationXZZFree
  Then shuttleyDestination == XZZ
Scenario: As soon as station XZY is free, then shuttle Y goes to station XZY
  When stationXZYFree
  Then shuttleyDestination == XZY
Scenario: Given shuttle X is in the station ZZZ, and when robot R1 picked up cube one, then shuttle goes to station RRR by robot R
  Given shuttleXAtStationZZZ
  When robotR1ProgramNumber == 9
  Then robotRProgramNumber == 2