test/ft_49_condition.rb in openwferu-0.9.13 vs test/ft_49_condition.rb in openwferu-0.9.14
- old
+ new
@@ -102,10 +102,14 @@
_print "1 ${f:__result__}"
_if :rnot => "1 > 3"
_print "2 ${f:__result__}"
_if :rnot => "1 > -1"
_print "3 ${f:__result__}"
+ _if :rtest => "workitem.attributes.size % 2 == 0"
+ _print "4 ${f:__result__}"
+ _if :rtest => "wi.attributes.size % 2 == 1"
+ _print "5 ${f:__result__}"
end
end
#def xxxx_2
def test_2
@@ -114,10 +118,12 @@
TestCondition49a2,
"""
0 true
1 true
2 true
-3
+3
+4
+5 true
""".strip)
end
end