Sha256: cdf37f489e600e4b1e7e35450ba892333ffe771a850017cf97ccfd639f96e8b1
Contents?: true
Size: 1.3 KB
Versions: 8
Compression:
Stored size: 1.3 KB
Contents
Feature: Fibonacci In order to calculate super fast fibonacci series As a Javascriptist I want to use Javascript for that Scenario Outline: Series When I ask Javascript 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] | Scenario: Single series tested via a PyString When I ask Javascript to calculate fibonacci up to 2 with formatting Then it should give me: """ '[1, 1]' """ Scenario: Single series tested via a Step Table When I ask Javascript to calculate fibonacci up to 2 Then it should contain: | cell 1 | cell 2 | | 1 | 1 | @do-fibonnacci-in-before-hook Scenario: Single series with Before hook with a tag label Then it should give me [1, 1, 2] Scenario: Single series by calling a step from within a step Then it should give me [1, 1] via calling another step definition
Version data entries
8 entries across 8 versions & 1 rubygems