Want more features on Pastebin? Sign Up, it's FREE!
Guest

Untitled

By: a guest on Feb 26th, 2012  |  syntax: None  |  size: 0.43 KB  |  views: 14  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1.   describe "#random" do
  2.     it "should use the settings specified elsewhere" do
  3.       pending "what needs to be specced?"
  4.       boring_writer = NudgeWriter.new
  5.       boring_writer.block_width 10
  6.       boring_writer.block_depth 0
  7.       boring_writer.int_range 13...13
  8.       boring_writer.use_instructions :float_add
  9.       boring_writer.use_refs :t66
  10.       boring_writer.use_random_values :int
  11.       puts boring_writer.random
  12.     end
  13.   end
clone this paste RAW Paste Data