about summary refs log tree commit homepage
path: root/test/test_raindrops_gc.rb
diff options
context:
space:
mode:
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