Sha256: 4f2ec5c0e5b72d536f901d3e6fc74a40d4735b78995459a268acb7a1e5da6e89

Contents?: true

Size: 700 Bytes

Versions: 282

Compression:

Stored size: 700 Bytes

Contents

Feature: Fibonacci
  In order to calculate super fast fibonacci series
  As a pythonista
  I want to use Python for that
  
  Scenario Outline: Series
    When I ask python to calculate fibonacci up to <n>
    Then it should give me <series>

    Examples:
      | n   | series                                 |
      | 1   | []                                     |
      | 2   | [1, 1]                                 |
      | 3   | [1, 1, 2]                              |
      | 4   | [1, 1, 2, 3]                           |
      | 6   | [1, 1, 2, 3, 5]                        |
      | 9   | [1, 1, 2, 3, 5, 8]                     |
      | 100 | [1, 1, 2, 3, 5, 8, 13, 21, 34, 55, 89] |
  

Version data entries

282 entries across 157 versions & 20 rubygems

Version Path
cucumber-1.3.13 examples/python/features/fibonacci.feature
cucumber-1.3.12 examples/ruby2python/features/fibonacci.feature
cucumber-1.3.12 examples/python/features/fibonacci.feature
cucumber-1.3.11 examples/ruby2python/features/fibonacci.feature
cucumber-1.3.11 examples/python/features/fibonacci.feature
cucumber-1.3.10 examples/python/features/fibonacci.feature
cucumber-1.3.10 examples/ruby2python/features/fibonacci.feature
cucumber-1.3.9 examples/ruby2python/features/fibonacci.feature
cucumber-1.3.9 examples/python/features/fibonacci.feature
candlepin-api-0.4.0 bundle/ruby/1.9.1/gems/cucumber-1.2.1/examples/python/features/fibonacci.feature
candlepin-api-0.4.0 bundle/ruby/1.8/gems/cucumber-1.2.1/examples/python/features/fibonacci.feature
candlepin-api-0.4.0 bundle/ruby/gems/cucumber-1.2.1/examples/python/features/fibonacci.feature
candlepin-api-0.4.0 bundle/ruby/1.9.1/gems/cucumber-1.2.1/examples/ruby2python/features/fibonacci.feature
candlepin-api-0.4.0 bundle/ruby/1.8/gems/cucumber-1.2.1/examples/ruby2python/features/fibonacci.feature
candlepin-api-0.4.0 bundle/ruby/gems/cucumber-1.2.1/examples/ruby2python/features/fibonacci.feature
cucumber-1.3.8 examples/python/features/fibonacci.feature
cucumber-1.3.8 examples/ruby2python/features/fibonacci.feature
cucumber-1.3.7 examples/python/features/fibonacci.feature
cucumber-1.3.7 examples/ruby2python/features/fibonacci.feature
cucumber-1.3.6 examples/ruby2python/features/fibonacci.feature