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.20 examples/python/features/fibonacci.feature
cucumber-1.3.20 examples/ruby2python/features/fibonacci.feature
cucumber-1.3.19 examples/ruby2python/features/fibonacci.feature
cucumber-1.3.19 examples/python/features/fibonacci.feature
cucumber-1.3.18 examples/ruby2python/features/fibonacci.feature
cucumber-1.3.18 examples/python/features/fibonacci.feature
cucumber-1.3.17 examples/python/features/fibonacci.feature
cucumber-1.3.17 examples/ruby2python/features/fibonacci.feature
aslakhellesoy-cucumber-0.3.100 examples/python/features/fibonacci.feature
aslakhellesoy-cucumber-0.3.101.2 examples/python/features/fibonacci.feature
aslakhellesoy-cucumber-0.3.101 examples/python/features/fibonacci.feature
aslakhellesoy-cucumber-0.3.102.1 examples/python/features/fibonacci.feature
aslakhellesoy-cucumber-0.3.102.2 examples/python/features/fibonacci.feature
aslakhellesoy-cucumber-0.3.102 examples/python/features/fibonacci.feature
aslakhellesoy-cucumber-0.3.103 examples/python/features/fibonacci.feature
aslakhellesoy-cucumber-0.3.104 examples/python/features/fibonacci.feature
aslakhellesoy-cucumber-0.3.94.1 examples/python/features/fibonacci.feature
aslakhellesoy-cucumber-0.3.95 examples/python/features/fibonacci.feature
aslakhellesoy-cucumber-0.3.96 examples/python/features/fibonacci.feature
aslakhellesoy-cucumber-0.3.97 examples/python/features/fibonacci.feature