# File test_format.rb, line 172 def one twenty_two = '22' num = 1234567.89012455 snum = -12.34 fmt1 = Format.new($f) fmt1.setTop($top) File.open("format_testfile1", File::CREAT | File::WRONLY | File::TRUNC) { |file| fmt1.io = file 13.times do fmt1.printFormatWithBinding(binding) end } assert(compareOutput("format_testfile1", "./format_test.pl 1", nil)) end