# File test_format.rb, line 303 def test_four 0.upto(2) do |x| top_fmt = Format.new($top_ex) body_fmt = Format.new($ex) bottom_fmt = Format.new($bot_ex) body_fmt.useHash(x == 0) body_fmt.setTop($top_ex) body_fmt.setBottom(bottom_fmt) body_fmt.setPageLength(10) if (x <2) helper_test_four(body_fmt, "format_testfile4-#{x}") else helper_hash_test_four(body_fmt, "format_testfile4-#{x}") end end end