mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
Update to ruby/spec@6cf8ebe
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@67030 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
5c7c6763f6
commit
75334db3c6
111 changed files with 1031 additions and 231 deletions
|
@ -58,7 +58,7 @@ describe "Array#combination" do
|
|||
@array.combination(-1).size.should == 0
|
||||
[].combination(-2).size.should == 0
|
||||
end
|
||||
it "returns the binomial coeficient between the array size the number of combinations" do
|
||||
it "returns the binomial coefficient between the array size the number of combinations" do
|
||||
@array.combination(5).size.should == 0
|
||||
@array.combination(4).size.should == 1
|
||||
@array.combination(3).size.should == 4
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue