Security update for permissions_by_term
[yaffs-website] / vendor / behat / gherkin / tests / Behat / Gherkin / Fixtures / features / fibonacci.feature
diff --git a/vendor/behat/gherkin/tests/Behat/Gherkin/Fixtures/features/fibonacci.feature b/vendor/behat/gherkin/tests/Behat/Gherkin/Fixtures/features/fibonacci.feature
new file mode 100644 (file)
index 0000000..4a743ea
--- /dev/null
@@ -0,0 +1,19 @@
+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] |
+