about summary refs log tree commit homepage
path: root/test/test_raindrops_gc.rb
diff options
context:
space:
mode:
authorEric Wong <normalperson@yhbt.net>2010-04-07 17:07:42 -0700
committerEric Wong <normalperson@yhbt.net>2010-04-07 17:36:31 -0700
commitc3e9f5ba6fc10397f55941f36da29808a105d248 (patch)
tree705970f479064931ae07cfca0cd44013c113cb8d /test/test_raindrops_gc.rb
downloadraindrops-c3e9f5ba6fc10397f55941f36da29808a105d248.tar.gz
Diffstat (limited to 'test/test_raindrops_gc.rb')
-rw-r--r--test/test_raindrops_gc.rb13
1 files changed, 13 insertions, 0 deletions
diff --git a/test/test_raindrops_gc.rb b/test/test_raindrops_gc.rb
new file mode 100644
index 0000000..b473619
--- /dev/null
+++ b/test/test_raindrops_gc.rb
@@ -0,0 +1,13 @@
+# -*- encoding: binary -*-
+require 'test/unit'
+require 'raindrops'
+
+class TestRaindropsGc < Test::Unit::TestCase
+
+  def test_gc
+    assert_nothing_raised do
+      1000000.times { Raindrops.new(24) }
+    end
+  end
+
+end