From 14bd7f2a4de8bcf05d3520c680517ca656c42b69 Mon Sep 17 00:00:00 2001 From: MelvinV Date: Sat, 22 Apr 2017 20:43:11 +0200 Subject: [PATCH] added my own decimal to octal feature :) --- numerals/features/melvoctal.feature | 37 +++++++++++++++++++++++++++++ 1 file changed, 37 insertions(+) create mode 100644 numerals/features/melvoctal.feature diff --git a/numerals/features/melvoctal.feature b/numerals/features/melvoctal.feature new file mode 100644 index 0000000..f5bfb60 --- /dev/null +++ b/numerals/features/melvoctal.feature @@ -0,0 +1,37 @@ +Feature: numbers 1-30 should be converted to the Octal system. +Scenario Outline: Convert decimal numbers to Octal numbers. +When the input is +Then the output should be + +Examples: + | number | octal | + | 1 | 1 | + | 2 | 2 | + | 3 | 3 | + | 4 | 4 | + | 5 | 5 | + | 6 | 6 | + | 7 | 7 | + | 8 | 10 | + | 9 | 11 | + | 10 | 12 | + | 11 | 13 | + | 12 | 14 | + | 13 | 15 | + | 14 | 16 | + | 15 | 17 | + | 16 | 20 | + | 17 | 21 | + | 18 | 22 | + | 19 | 23 | + | 20 | 24 | + | 21 | 25 | + | 22 | 26 | + | 23 | 27 | + | 24 | 30 | + | 25 | 31 | + | 26 | 32 | + | 27 | 33 | + | 28 | 34 | + | 29 | 35 | + | 30 | 36 |