#
# Testing OpenWFE
#
# John Mettraux at openwfe.org
#
# Tue Jan 2 13:14:37 JST 2007
#
require 'flowtestbase'
class FlowTest9 < Test::Unit::TestCase
include FlowTestBase
#def setup
#end
#def teardown
#end
def test_cursor_0
dotest(\
'
a
b
''',
"""a
b""")
end
def test_cursor_1
dotest(\
'
a
b
c
''',
"""a
b""")
end
def test_cursor_2
dotest(\
'
a
b
c
''',
"""a
b""")
end
def test_cursor_2b
#
# ZigZag test
#
dotest(\
'
a
b
c
''',
"""a
b
c""")
end
def test_cursor_3
dotest(\
'
a
b
c
''',
"""a
c""")
end
def test_cursor_4
dotest(\
'
a
b
c
d
''',
"""a
c
d""")
end
end