#
# Testing OpenWFE
#
# John Mettraux at openwfe.org
#
# Tue Jan 2 13:14:37 JST 2007
#
require 'flowtestbase'
$s = ""
0.upto(9) do |i|
$s << i.to_s
$s << "\n"
end
$s = $s.strip()
class FlowTest10 < Test::Unit::TestCase
include FlowTestBase
#def setup
#end
#def teardown
#end
def test_loop_0
dotest(
'
$i = 0
${r:$i}
$i = $i + 1
''',
$s)
end
#def xxxx_loop_1
def test_loop_1
dotest(
'
$i = 0
${r:$i}
$i = $i + 1
''',
$s)
end
#def xxxx_loop_2
def test_loop_2
dotest(
'
$i = 0
${r:$i}
$i = $i + 1
''',
$s)
end
#def xxxx_loop_3
def test_loop_3
dotest(
'
$i = 0
${r:$i}
$i = $i + 1
''',
$s)
end
#def xxxx_loop_4
def test_loop_4
dotest(
'
$i = 0
${r:$i}
$i = $i + 1
''',
$s)
end
end