Branch: Tag:

2005-06-23

2005-06-23 12:00:31 by Martin Stjernholm <mast@lysator.liu.se>

Some more <for> tests.

Rev: server/etc/test/tests/rxml/RoxenTest_BaseRXML.xml:1.68

1459:   </test>      <test> +  <rxml type="string"> +  <for variable='var.i' from='0' to='3' step='2'> +  &var.i; +  </for> +  </rxml> +  <result>02</result> + </test> +  + <test> +  <rxml type="string"> +  <set variable='var.i' value='0'/> +  <for from='0' to='3' step='2'> +  &var.i; +  <inc variable='var.i'/> +  </for> +  </rxml> +  <result>01</result> + </test> +  + <test> +  <rxml type="string"> +  <set variable='var.i' value='0'/> +  <for from='0' to='-3' step='-2'> +  &var.i; +  <inc variable='var.i'/> +  </for> +  </rxml> +  <result>01</result> + </test> +  + <test>    <rxml><for variable='var.i' from='0' to='-1' step='1'>x</for></rxml>    <result></result>   </test>
1468:    <result></result>   </test>    + <test> +  <rxml><for from='0' to='-1' step='1'>x</for></rxml> +  <result></result> + </test>    -  +    <!-- ............................................................ -->   <comment>If tests</comment>   <test>