add test for grain size
[concurrent.git] / test / test_parallel.rb
index 59431f2..f152169 100644 (file)
@@ -31,4 +31,8 @@ class TestParallel < Test::Unit::TestCase
     check_parallel( 0..100, 2, "include?", 5 )
     check_parallel( 0..100, 2, "include?", 1000 )
   end
+
+  def test_with_too_large_grain_size
+    check_parallel( 0..100, 200, "include?", 5 )
+  end
 end