<?xml version="1.0"?>
<memory xmlns:al="http://www.logilab.org/namespaces/Narval/1.2">

  <al:test recipe='test.test-041bis' category='robustness'>
    <al:description lang="en">make sure the transition with the highest priority is selected</al:description>
  </al:test>

  <al:recipe name="test-041bis" group='test' start_step='step1' end_step='step5'>
    <al:description lang="en">bad recipe</al:description>
    <al:step id="step1" type="action" target="Selftest.NOP" />
    <al:step id="step2" type="action" target="Selftest.NOP" />
    <al:step id="step3" type="action" target="Selftest.NOP" />
    <al:step id="step4" type="action" target="Selftest.NOP" />
    <al:step id="step5" type="action" target="Selftest.NOP" />
    <al:transition id="transition1_2" priority="0">
      <al:in idref="step1"/>
      <al:out idref="step2"/>
    </al:transition>
    <al:transition id="transition1_3" priority="1">
      <al:in idref="step1"/>
      <al:out idref="step3"/>
    </al:transition>
    <al:transition id="transition1_4" priority="0">
      <al:in idref="step1"/>
      <al:out idref="step4"/>
    </al:transition>
    <al:transition id="transition2_5">
      <al:in idref="step2"/>
      <al:out idref="step5"/>
    </al:transition>
    <al:transition id="transition3_5">
      <al:in idref="step3"/>
      <al:out idref="step5"/>
    </al:transition>
    <al:transition id="transition4_5">
      <al:in idref="step4"/>
      <al:out idref="step5"/>
    </al:transition>
  </al:recipe>

</memory>
