# File test_format.rb, line 192 def two name = "Paul Rubel" login ="rubel@crhc.uiuc.edu" office = "6/301" uid = 124.135791357; fmt = Format.new($from_perl) File.open("format_testfile2", File::CREAT | File::WRONLY | File::TRUNC) { |file| gid = -13 home = "/home/rubel/" fmt.io = file fmt.setTop($top) 20.times do fmt.printFormat(binding) end } raise "line numbering is broken #{fmt.pageNumber()}" unless (3 == fmt.pageNumber()) assert(compareOutput("format_testfile2", "./format_test.pl 2", nil)) end