repo.or.cz
/
concurrent.git
/
blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
raw
|
inline
|
side by side
add test for grain size
[concurrent.git]
/
test
/
test_parallel.rb
diff --git
a/test/test_parallel.rb
b/test/test_parallel.rb
index
59431f2
..
f152169
100644
(file)
--- a/
test/test_parallel.rb
+++ b/
test/test_parallel.rb
@@
-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