|
Server : Apache/2.4.62 System : FreeBSD fbsdweb2.web.rcn.net 14.1-RELEASE FreeBSD 14.1-RELEASE releng/14.1-n267679-10e31f0946d8 GENERIC amd64 User : www ( 80) PHP Version : 8.3.8 Disable Function : NONE Directory : /domains/irtiweb/CATS/vendor/behat/gherkin/tests/Behat/Gherkin/Fixtures/etalons/ |
Upload File : |
feature:
title: Fibonacci
language: en
line: 1
description: |-
In order to calculate super fast fibonacci series
As a pythonista
I want to use Python for that
scenarios:
-
type: outline
title: Series
line: 6
steps:
- { keyword_type: 'When', type: 'When', text: 'I ask python to calculate fibonacci up to <n>', line: 7 }
- { keyword_type: 'Then', type: 'Then', text: 'it should give me <series>', line: 8 }
examples:
11: [ n , series ]
12: [ 1 , '[]' ]
13: [ 2 , '[1, 1]' ]
14: [ 3 , '[1, 1, 2]' ]
15: [ 4 , '[1, 1, 2, 3]' ]
16: [ 6 , '[1, 1, 2, 3, 5]' ]
17: [ 9 , '[1, 1, 2, 3, 5, 8]' ]
18: [ 100 , '[1, 1, 2, 3, 5, 8, 13, 21, 34, 55, 89]' ]