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.2.2 examples/ruby2python/features/fibonacci.feature
librarian-puppet-0.9.8 vendor/gems/ruby/1.9.1/gems/cucumber-1.2.1/examples/python/features/fibonacci.feature
librarian-puppet-0.9.8 vendor/gems/ruby/1.9.1/gems/cucumber-1.2.1/examples/ruby2python/features/fibonacci.feature
librarian-puppet-0.9.4 vendor/gems/ruby/1.8/gems/cucumber-1.2.1/examples/python/features/fibonacci.feature
librarian-puppet-0.9.4 vendor/gems/ruby/1.8/gems/cucumber-1.2.1/examples/ruby2python/features/fibonacci.feature
casecumber-1.0.2.1 examples/ruby2python/features/fibonacci.feature
casecumber-1.0.2.1 examples/python/features/fibonacci.feature
casecumber-1.2.1.cb2 examples/python/features/fibonacci.feature
casecumber-1.2.1.cb2 examples/ruby2python/features/fibonacci.feature
librarian-puppet-0.9.3 vendor/gems/ruby/1.8/gems/cucumber-1.2.1/examples/ruby2python/features/fibonacci.feature
librarian-puppet-0.9.3 vendor/gems/ruby/1.8/gems/cucumber-1.2.1/examples/python/features/fibonacci.feature
cucumber-1.2.1 examples/ruby2python/features/fibonacci.feature
cucumber-1.2.1 examples/python/features/fibonacci.feature
resque-pool-0.3.0 vendor/bundle/ruby/1.8/gems/cucumber-1.1.9/examples/python/features/fibonacci.feature
resque-pool-0.3.0 vendor/bundle/ruby/1.8/gems/cucumber-1.1.9/examples/ruby2python/features/fibonacci.feature
ftl-0.2.0 vendor/bundle/gems/cucumber-1.2.0/examples/python/features/fibonacci.feature
ftl-0.2.0 vendor/bundle/gems/cucumber-1.2.0/examples/ruby2python/features/fibonacci.feature
cucumber-1.2.0 examples/python/features/fibonacci.feature
cucumber-1.2.0 examples/ruby2python/features/fibonacci.feature
frameworks-capybara-0.2.0.rc6 vendor/bundle/ruby/1.8/gems/cucumber-1.1.9/examples/python/features/fibonacci.feature