Sha256: 328ed52ad4c41b07f1bfea049c003d9c3f10ef7df8fbd9be358ea5b3963c98eb

Contents?: true

Size: 204 Bytes

Versions: 7

Compression:

Stored size: 204 Bytes

Contents

== Integer#factorial

    require 'facets/integer/factorial'

    0.factorial.assert == 1
    1.factorial.assert == 1
    2.factorial.assert == 2
    3.factorial.assert == 6
    4.factorial.assert == 24

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
facets-3.0.0 demo/core/integer/factorial.rdoc
facets-2.9.3 qed/core/integer/factorial.rdoc
facets-2.9.2 qed/core/integer/factorial.rdoc
facets-2.9.1 qed/core/integer/factorial.rdoc
facets-2.9.0 qed/core/integer/factorial.rdoc
facets-2.9.0.pre.2 qed/core/integer/factorial.rdoc
facets-2.9.0.pre.1 qed/core/integer/factorial.rdoc