9 # DO_TESTS = [:test_25_yields]
12 do_blah <<SRC, nil, [10508, 5221]
50 str.setdata "hello world\n"
58 do_blah <<SRC, nil, [21455, 11972]
95 # alloc size (pos + 1) * 4
123 def print_num int, just
127 times(just - num.length) {
132 def print_line m, just, num_columns
135 print_num n * m, just
144 max.from_int(num_columns * num_rows)
145 just = 1 + max.length
148 print_line n, just, num_columns
155 n = ARGV.length > 0 ? ARGV.first.to_i : 3
186 # alloc size (pos + 1) * 4
209 do_blah <<SRC, nil, [24019, 10709]
218 from_and_to(0, #{n}) {
223 print_spaces 5 - num.length
228 from_and_to(0, #{n}) {
235 public_instance_methods.each {
237 next if meth !~ /^test.*/ or DO_TESTS.include? meth.to_sym
238 remove_method meth.to_sym
239 } if defined? DO_TESTS