test/ft_2_concurrence.rb in openwferu-0.9.0 vs test/ft_2_concurrence.rb in openwferu-0.9.1
- old
+ new
@@ -16,19 +16,31 @@
#end
#def teardown
#end
- def test_concurrence
+ def test_con_0
dotest(\
-'''<process-definition name="n" revision="0">
+'''<process-definition name="con" revision="0">
<concurrence>
<print>a</print>
<print>b</print>
</concurrence>
</process-definition>''', [ '''a,
b''', '''b
a''' ], 0.1 )
+ end
+
+ def test_con_1
+ dotest(\
+'''<process-definition name="con" revision="1">
+ <concurrence
+ count="1"
+ >
+ <print>a</print>
+ <print>b</print>
+ </concurrence>
+</process-definition>''', [ "a", "b" ], 0.1 )
end
end