File: fibonnacci.feature

package info (click to toggle)
cucumber 2.4.0-4
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, bullseye
  • size: 3,064 kB
  • sloc: ruby: 17,016; javascript: 4,641; makefile: 12; sh: 10; tcl: 3
file content (17 lines) | stat: -rw-r--r-- 398 bytes parent folder | download | duplicates (7)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
Feature: Fibonacci
  In order to calculate super fast fibonacci series
  As a Tcl hacker
  I want to use Tcl for that
  
  Scenario Outline: Series
    When I ask Tcl to calculate fibonacci for <n>
    Then it should give me <result>
    Examples:
      | n | result |
      | 1 | 1      |
      | 2 | 1      |
      | 3 | 2      |
      | 4 | 3      |
      | 5 | 5      |
      | 6 | 8      |