Skip to content

Commit 9ccac13

Browse files
committed
Reduce permutation size for test.
1 parent a33306a commit 9ccac13

1 file changed

Lines changed: 2 additions & 3 deletions

File tree

test/io/event/priority_heap.rb

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -57,9 +57,8 @@
5757
expect(priority_heap).to be(:valid?)
5858
end
5959

60-
# Exhaustive testing of all permutations of [1..6]
61-
it "for all permutations of size 6" do
62-
[1,2,3,4,5,6].permutation do |permutation|
60+
it "for all permutations of size 5" do
61+
[1,2,3,4,5].permutation do |permutation|
6362
priority_heap.clear!
6463
permutation.each {|element| priority_heap.push(element)}
6564
expect(priority_heap).to be(:valid?)

0 commit comments

Comments
 (0)