Sha256: 59759a4dbfd4428b931ce08572418fb7407008a0d2f5a199976ccd6c59644e15

Contents?: true

Size: 555 Bytes

Versions: 2

Compression:

Stored size: 555 Bytes

Contents

Feature: Profit Margin Calculations
  In order to make the correct amount of profit on an item
  As a user of the Corrency Library
  I should be able to work out profit margins correctly.

  Scenario Outline: Adding profit margin to costs
    Given there is a cost of <cost>
    And I apply a margin of <margin>
    Then I should have a value of <price>
     
    Examples:
      | cost    | margin | price  |
      | 61.33   | 28%    | 85.18  |
      | 90.00   | 10%    | 100.00 |
      | 100.00  | 20%    | 125.00 |
      | 3.43    | 12.3%  | 3.91   |

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
corrency-0.3.1 features/adding_profit_margin.feature
corrency-0.3.0 features/profit_margin_calculations.feature