Skip to content

Instantly share code, notes, and snippets.

@IgnoredAmbience
Created December 27, 2011 18:24
Show Gist options
  • Save IgnoredAmbience/1524685 to your computer and use it in GitHub Desktop.
Save IgnoredAmbience/1524685 to your computer and use it in GitHub Desktop.
lib/test.rb
load 'splats.rb'
load '../samples/SimpleTest.rb'
load '../samples/LinkedList.rb'
def test(c, t)
g = SPLATS::Generator.new(c, t)
g.test_class do |t|
p t
end
end
#test(SimpleTest, SPLATS::DepthLimitedTraversal.new(2))
test(LinkedList, SPLATS::DepthLimitedTraversal.new(2))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment