Sha256: f112d7d69a34f204fe3197995be1a3199ef804d3239147713b6826736079b1ab

Contents?: true

Size: 290 Bytes

Versions: 3

Compression:

Stored size: 290 Bytes

Contents

require 'spec_helper'
require 'combinatorics/derange/cardinality'

describe Derange do
  subject { Derange }

  it "should alias cardinality to subfactorial" do
    should respond_to(:cardinality)
  end

  it "should wrap subfactorial with Derange.D" do
    should respond_to(:D)
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
combinatorics-0.4.4 spec/derange/cardinality_spec.rb
combinatorics-0.4.3 spec/derange/cardinality_spec.rb
combinatorics-0.4.1 spec/derange/cardinality_spec.rb