Sha256: 9f56b9c7f9cada8cce9e54f765ee8ebfcbc0c740bbdb7c3663538b30498a005d
Contents?: true
Size: 268 Bytes
Versions: 31
Compression:
Stored size: 268 Bytes
Contents
require 'epitools/basetypes' require 'epitools/permutations' describe "Permutations" do it "a*b" do ([1,2] * [3,4]).should == [ [1,3], [1,4], [2,3], [2,4] ] end it "a**2" do ([1,2] ** 2).should == [ [1,1], [1,2], [2,1], [2,2] ] end end
Version data entries
31 entries across 31 versions & 1 rubygems